diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-09-26 13:21:51 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-09-26 13:23:34 +0200 |
commit | 05e65baabe3e941cbbb546f546bae8719974b00f (patch) | |
tree | 1304cfef13a7ad479a21f9a11acbd41eaa412827 /src | |
parent | Fix MASTER build with glfw (diff) | |
download | re3-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')
-rw-r--r-- | src/render/Coronas.cpp | 4 |
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, |