mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 02:09:00 +00:00
Fix coronas reflections
This commit is contained in:
parent
dd93a90ab2
commit
4d1182bdb1
1 changed files with 4 additions and 0 deletions
|
@ -490,7 +490,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