This commit is contained in:
Fire-Head
2020-05-27 21:50:01 +03:00
parent 90947a608f
commit 63d0bdc863
11 changed files with 2168 additions and 652 deletions

View File

@ -17999,8 +17999,9 @@ CPed::SetEnterCar_AllClear(CVehicle *car, uint32 doorNode, uint32 doorFlag)
PedSetInCarCB(nil, this);
bVehExitWillBeInstant = true;
if (IsPlayer())
CWaterLevel::AllocateBoatWakeArray();
// TODO(Miami):
//if (IsPlayer())
// CWaterLevel::AllocateBoatWakeArray();
} else {
if (zDiff > 4.4f) {
if (m_vehEnterType == CAR_DOOR_RF || m_vehEnterType == CAR_DOOR_RR)
@ -18436,8 +18437,10 @@ CPed::SetExitBoat(CVehicle *boat)
SetMoveState(PEDMOVE_STILL);
m_vecMoveSpeed = boat->m_vecMoveSpeed;
#endif
// TODO(Miami):
// Not there in VC.
CWaterLevel::FreeBoatWakeArray();
//CWaterLevel::FreeBoatWakeArray();
}
void