mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 00:00:00 +00:00
Fix coronas reflections
This commit is contained in:
parent
3f0a80f7c7
commit
05e65baabe
|
@ -476,7 +476,11 @@ CCoronas::RenderReflections(void)
|
||||||
int intensity = distanceFade*heightFade * 230.0 * CWeather::WetRoads;
|
int intensity = distanceFade*heightFade * 230.0 * CWeather::WetRoads;
|
||||||
|
|
||||||
CSprite::RenderBufferedOneXLUSprite(
|
CSprite::RenderBufferedOneXLUSprite(
|
||||||
|
#ifdef FIX_BUGS
|
||||||
|
spriteCoors.x, spriteCoors.y, spriteCoors.z,
|
||||||
|
#else
|
||||||
spriteCoors.x, spriteCoors.y, RwIm2DGetNearScreenZ(),
|
spriteCoors.x, spriteCoors.y, RwIm2DGetNearScreenZ(),
|
||||||
|
#endif
|
||||||
spritew * aCoronas[i].size * 0.75f,
|
spritew * aCoronas[i].size * 0.75f,
|
||||||
spriteh * aCoronas[i].size * 2.0f,
|
spriteh * aCoronas[i].size * 2.0f,
|
||||||
(intensity * CCoronas::aCoronas[i].red)>>8,
|
(intensity * CCoronas::aCoronas[i].red)>>8,
|
||||||
|
|
Loading…
Reference in a new issue