summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorRoman Masanin <36927roma@gmail.com>2020-09-26 20:38:37 +0200
committerRoman Masanin <36927roma@gmail.com>2020-09-26 20:38:37 +0200
commitbb2e601e13bfdfae697cd0188604bb4481769285 (patch)
tree253fdf6bf532ffd362ad5fdeaac7dfddb43f1afe /src/render
parentreturn bridge, crane and fix structures in fluff.h (diff)
parentFix coronas reflections (diff)
downloadre3-bb2e601e13bfdfae697cd0188604bb4481769285.tar
re3-bb2e601e13bfdfae697cd0188604bb4481769285.tar.gz
re3-bb2e601e13bfdfae697cd0188604bb4481769285.tar.bz2
re3-bb2e601e13bfdfae697cd0188604bb4481769285.tar.lz
re3-bb2e601e13bfdfae697cd0188604bb4481769285.tar.xz
re3-bb2e601e13bfdfae697cd0188604bb4481769285.tar.zst
re3-bb2e601e13bfdfae697cd0188604bb4481769285.zip
Diffstat (limited to '')
-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 2d621d18..c40577d7 100644
--- a/src/render/Coronas.cpp
+++ b/src/render/Coronas.cpp
@@ -490,7 +490,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,