mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-16 22:24:08 +00:00
PlayerInfo functions reordered into original order, FindPlayer... functions moved to PlayerInfo, improved CVector <-> RwV3d conversion, small fixes
This commit is contained in:
parent
2903ebe296
commit
cfda5eb148
30 changed files with 449 additions and 482 deletions
|
@ -220,7 +220,7 @@ CExplosion::AddExplosion(CEntity *explodingEntity, CEntity *culprit, eExplosionT
|
|||
} else if (veh->IsComponentPresent(CAR_BOOT)) {
|
||||
veh->GetComponentWorldPosition(CAR_BOOT, componentPos);
|
||||
}
|
||||
if (componentPos != nil) {
|
||||
if (componentPos.x != 0.0f) {
|
||||
int rn = (CGeneral::GetRandomNumber() & 1) + 1;
|
||||
for (int i = 0; i < rn; i++)
|
||||
CParticle::AddJetExplosion(componentPos, (CGeneral::GetRandomNumber() & 7) / 7.0f + 1.5f, 0.5f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue