summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-09-26 13:21:51 +0200
committerSergeanur <s.anureev@yandex.ua>2020-09-26 13:23:34 +0200
commit05e65baabe3e941cbbb546f546bae8719974b00f (patch)
tree1304cfef13a7ad479a21f9a11acbd41eaa412827 /src/render
parentFix MASTER build with glfw (diff)
downloadre3-05e65baabe3e941cbbb546f546bae8719974b00f.tar
re3-05e65baabe3e941cbbb546f546bae8719974b00f.tar.gz
re3-05e65baabe3e941cbbb546f546bae8719974b00f.tar.bz2
re3-05e65baabe3e941cbbb546f546bae8719974b00f.tar.lz
re3-05e65baabe3e941cbbb546f546bae8719974b00f.tar.xz
re3-05e65baabe3e941cbbb546f546bae8719974b00f.tar.zst
re3-05e65baabe3e941cbbb546f546bae8719974b00f.zip
Diffstat (limited to 'src/render')
-rw-r--r--src/render/Coronas.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/Coronas.cpp b/src/render/Coronas.cpp
index d2d229f9..33c3f4bf 100644
--- a/src/render/Coronas.cpp
+++ b/src/render/Coronas.cpp
@@ -476,7 +476,11 @@ CCoronas::RenderReflections(void)
int intensity = distanceFade*heightFade * 230.0 * CWeather::WetRoads;
CSprite::RenderBufferedOneXLUSprite(
+#ifdef FIX_BUGS
+ spriteCoors.x, spriteCoors.y, spriteCoors.z,
+#else
spriteCoors.x, spriteCoors.y, RwIm2DGetNearScreenZ(),
+#endif
spritew * aCoronas[i].size * 0.75f,
spriteh * aCoronas[i].size * 2.0f,
(intensity * CCoronas::aCoronas[i].red)>>8,