diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-09-26 14:21:51 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-09-26 14:24:21 +0300 |
commit | 4d1182bdb1f4a362f7aab82075a27a2b19b874d8 (patch) | |
tree | 62ce315cb316988ce6712860627004bb9138b302 | |
parent | dd93a90ab238ffedde8db88d706e8411ef67e9f9 (diff) |
Fix coronas reflections
-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 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, |