Revert "First batch of fixes (CallAndMessage)"

This reverts commit 7a3b80a9b7.
This commit is contained in:
Filip Gawin
2021-01-31 21:06:38 +01:00
parent 7a3b80a9b7
commit 3d4791f291
15 changed files with 49 additions and 139 deletions
+2 -8
View File
@@ -144,11 +144,8 @@ INITSAVEBUF
pVehicle = new(slot) CBoat(model, RANDOM_VEHICLE);
else if (type == VEHICLE_TYPE_CAR)
pVehicle = new(slot) CAutomobile(model, RANDOM_VEHICLE);
else {
else
assert(0);
debug("This shouldn't happen");
return;
}
--CCarCtrl::NumRandomCars;
pVehicle->Load(buf);
CWorld::Add(pVehicle);
@@ -521,11 +518,8 @@ INITSAVEBUF
if (pedtype == PEDTYPE_PLAYER1)
pPed = new(ref) CPlayerPed();
else {
else
assert(0);
debug("This shouldn't happen");
return;
}
pPed->Load(buf);
if (pedtype == PEDTYPE_PLAYER1) {