diff options
author | aap <aap@papnet.eu> | 2020-05-07 11:33:20 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-07 11:33:20 +0200 |
commit | 05a1d64fbbe374dabb6572bb47d9a745464633bb (patch) | |
tree | e56b03fbb2c768324a4b540645eac2dc8c5bdf08 /src/peds/Ped.cpp | |
parent | changed default ID ranges. old default.ide incompatible now (diff) | |
download | re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.tar re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.tar.gz re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.tar.bz2 re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.tar.lz re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.tar.xz re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.tar.zst re3-05a1d64fbbe374dabb6572bb47d9a745464633bb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/peds/Ped.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 042596de..3b95dfdd 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -11976,7 +11976,7 @@ CPed::RegisterThreatWithGangPeds(CEntity *attacker) } if (attackerPed && attackerPed->IsPlayer() && (attackerPed->m_nPedState == PED_CARJACK || attackerPed->bInVehicle)) { - if (!attackerPed->m_pMyVehicle || attackerPed->m_pMyVehicle->GetModelIndex() != MI_TOYZ) { + if (!attackerPed->m_pMyVehicle || attackerPed->m_pMyVehicle->GetModelIndex() != MI_TOPFUN) { int16 lastVehicle; CEntity *vehicles[8]; CWorld::FindObjectsInRange(GetPosition(), 30.0f, true, &lastVehicle, 6, vehicles, false, true, false, false, false); @@ -15670,7 +15670,7 @@ CPed::SetExitCar(CVehicle *veh, uint32 wantedDoorNode) } else { if (veh->GetUp().z > -0.8f) { bool addDoorSmoke = false; - if (veh->GetModelIndex() == MI_YARDIE) + if (veh->GetModelIndex() == MI_VOODOO) addDoorSmoke = true; switch (m_vehEnterType) { |