Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Fix virtual SetModelIndex call in CBoat ctor
  • Loading branch information
Sergeanur committed Nov 1, 2020
1 parent 30c0f26 commit 3c4f166a82d5760849e0f8a02c28a46d734a6c6d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/vehicles/Boat.cpp
@@ -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);

0 comments on commit 3c4f166

Please sign in to comment.