Fix virtual SetModelIndex call in CBoat ctor

This commit is contained in:
Sergeanur 2020-11-01 09:20:37 +02:00
parent 30c0f26f17
commit 3c4f166a82

View File

@ -48,7 +48,7 @@ CBoat::CBoat(int mi, uint8 owner) : CVehicle(owner)
m_fSteeringLeftRight = 0.0f;
m_nPadID = 0;
m_fMovingRotation = 0.0f;
SetModelIndex(mi);
CBoat::SetModelIndex(mi);
pHandling = mod_HandlingManager.GetHandlingData((eHandlingId)minfo->m_handlingId);
minfo->ChooseVehicleColour(m_currentColour1, m_currentColour2);