mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-26 19:14:15 +01:00
removed fix that made no sense
This commit is contained in:
parent
e1495ba9df
commit
458eb3a4f0
@ -1002,21 +1002,15 @@ void
|
|||||||
DestroyVehicleAndDriverAndPassengers(CVehicle* pVehicle)
|
DestroyVehicleAndDriverAndPassengers(CVehicle* pVehicle)
|
||||||
{
|
{
|
||||||
if (pVehicle->pDriver) {
|
if (pVehicle->pDriver) {
|
||||||
#ifndef FIX_BUGS
|
|
||||||
// this just isn't fair
|
|
||||||
CDarkel::RegisterKillByPlayer(pVehicle->pDriver, WEAPONTYPE_UNIDENTIFIED);
|
CDarkel::RegisterKillByPlayer(pVehicle->pDriver, WEAPONTYPE_UNIDENTIFIED);
|
||||||
#endif
|
|
||||||
pVehicle->pDriver->FlagToDestroyWhenNextProcessed();
|
pVehicle->pDriver->FlagToDestroyWhenNextProcessed();
|
||||||
}
|
}
|
||||||
for (int i = 0; i < pVehicle->m_nNumMaxPassengers; i++) {
|
for (int i = 0; i < pVehicle->m_nNumMaxPassengers; i++) {
|
||||||
if (pVehicle->pPassengers[i]) {
|
if (pVehicle->pPassengers[i]) {
|
||||||
#ifndef FIX_BUGS
|
|
||||||
// this just isn't fair
|
|
||||||
CDarkel::RegisterKillByPlayer(pVehicle->pPassengers[i], WEAPONTYPE_UNIDENTIFIED);
|
CDarkel::RegisterKillByPlayer(pVehicle->pPassengers[i], WEAPONTYPE_UNIDENTIFIED);
|
||||||
#endif
|
|
||||||
pVehicle->pPassengers[i]->FlagToDestroyWhenNextProcessed();
|
pVehicle->pPassengers[i]->FlagToDestroyWhenNextProcessed();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
CWorld::Remove(pVehicle);
|
CWorld::Remove(pVehicle);
|
||||||
delete pVehicle;
|
delete pVehicle;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user