Merge pull request #977 from withmorten/miami-cw

make building with Codewarrior 7 possible
This commit is contained in:
withmorten
2021-01-25 14:06:53 +01:00
committed by GitHub
48 changed files with 492 additions and 300 deletions

View File

@@ -4093,7 +4093,7 @@ CPed::SetExitBoat(CVehicle *boat)
RemoveInCarAnims();
CColModel* boatCol = boat->GetColModel();
if (boat->IsUpsideDown()) {
newPos = { 0.0f, 0.0f, boatCol->boundingBox.min.z };
newPos = CVector(0.0f, 0.0f, boatCol->boundingBox.min.z);
newPos = boat->GetMatrix() * newPos;
newPos.z += 1.0f;
m_vehDoor = CAR_DOOR_RF;