diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-08 19:05:22 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-04-08 19:05:22 +0300 |
commit | 5a034097c90076a8c59e68853f8d675b194e2877 (patch) | |
tree | b55c42fe0bb22f5efbee90385374e778c3e6684f | |
parent | 5966e627f007d7d28b9073c01db73428e0b2796d (diff) |
Fix target sprite size
-rw-r--r-- | src/render/WeaponEffects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/WeaponEffects.cpp b/src/render/WeaponEffects.cpp index 2ed9e662..3101def9 100644 --- a/src/render/WeaponEffects.cpp +++ b/src/render/WeaponEffects.cpp @@ -83,7 +83,7 @@ CWeaponEffects::Render(void) { float recipz = 1.0f / pos.z; CSprite::RenderOneXLUSprite(pos.x, pos.y, pos.z, - gCrossHair.m_fSize * w, gCrossHair.m_fSize * h, + gCrossHair.m_fSize * w, gCrossHair.m_fSize * SCREEN_SCALE_AR2(h), gCrossHair.m_nRed, gCrossHair.m_nGreen, gCrossHair.m_nBlue, 255, recipz, 255); } |