diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-10 10:52:47 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-04-10 10:52:47 +0300 |
commit | 6647312660cb6c67d7ee3fec89897c930783a77f (patch) | |
tree | ee3411c32f192fd6c088a7cd5cfa655e82684167 /src/render/Coronas.cpp | |
parent | 6473778c47efa1e8c1e2d8eea405de98f378cd69 (diff) |
Fix sprite vertical scale
Diffstat (limited to 'src/render/Coronas.cpp')
-rw-r--r-- | src/render/Coronas.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Coronas.cpp b/src/render/Coronas.cpp index c934540b..68994b0b 100644 --- a/src/render/Coronas.cpp +++ b/src/render/Coronas.cpp @@ -320,7 +320,7 @@ CCoronas::Render(void) CSprite::RenderOneXLUSprite(spriteCoors.x, spriteCoors.y, spriteCoors.z, spritew * aCoronas[i].size * wscale, - spriteh * SCREEN_SCALE_AR2(aCoronas[i].size * fogscale * hscale), + spriteh * aCoronas[i].size * fogscale * hscale, CCoronas::aCoronas[i].red / fogscale, CCoronas::aCoronas[i].green / fogscale, CCoronas::aCoronas[i].blue / fogscale, @@ -331,7 +331,7 @@ CCoronas::Render(void) CSprite::RenderOneXLUSprite_Rotate_Aspect( spriteCoors.x, spriteCoors.y, spriteCoors.z, spritew * aCoronas[i].size * fogscale, - spriteh * SCREEN_SCALE_AR2(aCoronas[i].size * fogscale), + spriteh * aCoronas[i].size * fogscale, CCoronas::aCoronas[i].red / fogscale, CCoronas::aCoronas[i].green / fogscale, CCoronas::aCoronas[i].blue / fogscale, |