mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 02:04:09 +00:00
Weapon layer in Peds
This commit is contained in:
parent
ede6b7db6a
commit
acd1ea9909
36 changed files with 2182 additions and 875 deletions
|
@ -2048,9 +2048,12 @@ CWorld::Process(void)
|
|||
movingPed->EnteringCar()) {
|
||||
CVehicle *movingCar = movingPed->m_pMyVehicle;
|
||||
if(movingCar) {
|
||||
#ifdef GTA_TRAIN
|
||||
if(movingCar->IsTrain()) {
|
||||
movingPed->SetPedPositionInTrain();
|
||||
} else {
|
||||
} else
|
||||
#endif
|
||||
{
|
||||
switch(movingPed->m_nPedState) {
|
||||
case PED_ENTER_CAR:
|
||||
case PED_CARJACK: movingPed->EnterCar(); break;
|
||||
|
@ -2235,4 +2238,5 @@ CWorld::UseDetonator(CEntity *pEntity)
|
|||
pVehicle->m_pBlowUpEntity->RegisterReference(&pVehicle->m_pBlowUpEntity);
|
||||
}
|
||||
}
|
||||
CProjectileInfo::RemoveDetonatorProjectiles();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue