summaryrefslogtreecommitdiffstats
path: root/src/render/Sprite.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2021-01-05 02:17:18 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2021-01-05 02:17:18 +0100
commit11de714d9dbeabb59129d29acb9e433c538ba4ba (patch)
tree99e973277c2986aceb45886684cee34191cfa6e4 /src/render/Sprite.cpp
parentfix compiling (diff)
downloadre3-11de714d9dbeabb59129d29acb9e433c538ba4ba.tar
re3-11de714d9dbeabb59129d29acb9e433c538ba4ba.tar.gz
re3-11de714d9dbeabb59129d29acb9e433c538ba4ba.tar.bz2
re3-11de714d9dbeabb59129d29acb9e433c538ba4ba.tar.lz
re3-11de714d9dbeabb59129d29acb9e433c538ba4ba.tar.xz
re3-11de714d9dbeabb59129d29acb9e433c538ba4ba.tar.zst
re3-11de714d9dbeabb59129d29acb9e433c538ba4ba.zip
Diffstat (limited to 'src/render/Sprite.cpp')
-rw-r--r--src/render/Sprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Sprite.cpp b/src/render/Sprite.cpp
index 4be64ef2..390737f3 100644
--- a/src/render/Sprite.cpp
+++ b/src/render/Sprite.cpp
@@ -41,7 +41,7 @@ CSprite::CalcScreenCoors(const RwV3d &in, RwV3d *out, float *outw, float *outh,
*outh = fovScale * recip * SCREEN_HEIGHT;
#ifdef ASPECT_RATIO_SCALE
- if ( CMenuManager::m_PrefsSpriteScalingMode==SCL_AUTO )
+ if ( CDraw::ms_bFixSprites )
*outw = fovScale * recip * SCREEN_HEIGHT;
#endif