summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-11-01 09:20:37 +0200
committerSergeanur <s.anureev@yandex.ua>2020-11-01 09:34:10 +0200
commit3c4f166a82d5760849e0f8a02c28a46d734a6c6d (patch)
tree0a268470c7860c675c34a5fc22f962b257ebad2f /src
parent30c0f26f171b96443b9f897c816450a281cf216c (diff)
Fix virtual SetModelIndex call in CBoat ctor
Diffstat (limited to 'src')
-rw-r--r--src/vehicles/Boat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp
index dfe9d1d9..a33b9770 100644
--- a/src/vehicles/Boat.cpp
+++ b/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);