summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-08 18:05:22 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-08 18:05:22 +0200
commit5a034097c90076a8c59e68853f8d675b194e2877 (patch)
treeb55c42fe0bb22f5efbee90385374e778c3e6684f /src
parentfix bug (diff)
downloadre3-5a034097c90076a8c59e68853f8d675b194e2877.tar
re3-5a034097c90076a8c59e68853f8d675b194e2877.tar.gz
re3-5a034097c90076a8c59e68853f8d675b194e2877.tar.bz2
re3-5a034097c90076a8c59e68853f8d675b194e2877.tar.lz
re3-5a034097c90076a8c59e68853f8d675b194e2877.tar.xz
re3-5a034097c90076a8c59e68853f8d675b194e2877.tar.zst
re3-5a034097c90076a8c59e68853f8d675b194e2877.zip
Diffstat (limited to 'src')
-rw-r--r--src/render/WeaponEffects.cpp2
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);
}