From 5a034097c90076a8c59e68853f8d675b194e2877 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Wed, 8 Apr 2020 19:05:22 +0300 Subject: Fix target sprite size --- src/render/WeaponEffects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render') 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); } -- cgit v1.2.3