summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-10-05 17:17:29 +0200
committerGitHub <noreply@github.com>2019-10-05 17:17:29 +0200
commitc06f139530dea1fd69bd7153518a10ee37552473 (patch)
tree71100a28e2fe5cee928b5cc6133cf56917f3ca3b /src/render
parentTriangular radar blips (diff)
parentCorona widescreen fix (diff)
downloadre3-c06f139530dea1fd69bd7153518a10ee37552473.tar
re3-c06f139530dea1fd69bd7153518a10ee37552473.tar.gz
re3-c06f139530dea1fd69bd7153518a10ee37552473.tar.bz2
re3-c06f139530dea1fd69bd7153518a10ee37552473.tar.lz
re3-c06f139530dea1fd69bd7153518a10ee37552473.tar.xz
re3-c06f139530dea1fd69bd7153518a10ee37552473.tar.zst
re3-c06f139530dea1fd69bd7153518a10ee37552473.zip
Diffstat (limited to 'src/render')
-rw-r--r--src/render/Coronas.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Coronas.cpp b/src/render/Coronas.cpp
index 1a6cfea3..89a85e92 100644
--- a/src/render/Coronas.cpp
+++ b/src/render/Coronas.cpp
@@ -324,7 +324,7 @@ CCoronas::Render(void)
CSprite::RenderOneXLUSprite(spriteCoors.x, spriteCoors.y, spriteCoors.z,
spritew * aCoronas[i].size * wscale,
- spriteh * aCoronas[i].size * fogscale * hscale,
+ spriteh * SCREEN_SCALE_AR2(aCoronas[i].size * fogscale * hscale),
CCoronas::aCoronas[i].red / fogscale,
CCoronas::aCoronas[i].green / fogscale,
CCoronas::aCoronas[i].blue / fogscale,
@@ -335,7 +335,7 @@ CCoronas::Render(void)
CSprite::RenderOneXLUSprite_Rotate_Aspect(
spriteCoors.x, spriteCoors.y, spriteCoors.z,
spritew * aCoronas[i].size * fogscale,
- spriteh * aCoronas[i].size * fogscale,
+ spriteh * SCREEN_SCALE_AR2(aCoronas[i].size * fogscale),
CCoronas::aCoronas[i].red / fogscale,
CCoronas::aCoronas[i].green / fogscale,
CCoronas::aCoronas[i].blue / fogscale,