mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 13:54:08 +00:00
lcs pobj
This commit is contained in:
parent
4ba19c9556
commit
37b9ba5bd7
6 changed files with 18 additions and 12 deletions
|
@ -715,6 +715,7 @@ CPhysical::ApplyCollision(CPhysical *B, CColPoint &colpoint, float &impulseA, fl
|
|||
int16 model = B->GetModelIndex();
|
||||
if(model == MI_FIRE_HYDRANT && !Bobj->bHasBeenDamaged){
|
||||
CParticleObject::AddObject(POBJECT_FIRE_HYDRANT, B->GetPosition() - CVector(0.0f, 0.0f, 0.5f), true);
|
||||
CParticleObject::AddObject(POBJECT_FIRE_HYDRANT_STEAM, B->GetPosition() - CVector(0.0f, 0.0f, 0.5f), true);
|
||||
Bobj->bHasBeenDamaged = true;
|
||||
}else if(model == MI_PARKINGMETER || model == MI_PARKINGMETER2){
|
||||
CPickups::CreateSomeMoney(GetPosition(), CGeneral::GetRandomNumber()%100);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue