mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 12:09:02 +00:00
AddExplosion shadow fix
This commit is contained in:
parent
252d40413c
commit
a5c7151656
1 changed files with 5 additions and 0 deletions
|
@ -96,7 +96,12 @@ CExplosion::AddExplosion(CEntity *explodingEntity, CEntity *culprit, eExplosionT
|
|||
const RwRGBA color = { 160, 160, 160, 255 };
|
||||
pPosn = pos;
|
||||
pPosn.z += 5.0f;
|
||||
#ifdef FIX_BUGS
|
||||
CShadows::AddPermanentShadow(SHADOWTEX_CAR, gpShadowHeliTex, &pPosn, 8.0f, 0.0f, 0.0f, -8.0f, 200, 0, 0, 0, 10.0f, 30000, 1.0f);
|
||||
#else
|
||||
// last two arguments are swapped resulting in no shadow
|
||||
CShadows::AddPermanentShadow(SHADOWTEX_CAR, gpShadowHeliTex, &pPosn, 8.0f, 0.0f, 0.0f, -8.0f, 200, 0, 0, 0, 10.0f, 1, 30000.0f);
|
||||
#endif
|
||||
|
||||
int n = 0;
|
||||
while (gaExplosion[n].m_nIteration != 0 && n < ARRAY_SIZE(gaExplosion))
|
||||
|
|
Loading…
Reference in a new issue