diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-01-05 02:17:18 +0100 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-01-05 02:17:18 +0100 |
commit | 11de714d9dbeabb59129d29acb9e433c538ba4ba (patch) | |
tree | 99e973277c2986aceb45886684cee34191cfa6e4 /src/render/Sprite.cpp | |
parent | fix compiling (diff) | |
download | re3-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.cpp | 2 |
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 |