diff options
author | aap <aap@papnet.eu> | 2020-11-01 10:29:37 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-11-01 10:29:37 +0100 |
commit | 9598a906270c4876c1a9c00b8959e694d645566c (patch) | |
tree | f411a5cb561d9533db4172ce2f7639a46079e7f3 /src/vehicles/Boat.cpp | |
parent | tiny cleanup (diff) | |
parent | Also fix SetModelIndex in CAutomobile and CTrain ctors (diff) | |
download | re3-9598a906270c4876c1a9c00b8959e694d645566c.tar re3-9598a906270c4876c1a9c00b8959e694d645566c.tar.gz re3-9598a906270c4876c1a9c00b8959e694d645566c.tar.bz2 re3-9598a906270c4876c1a9c00b8959e694d645566c.tar.lz re3-9598a906270c4876c1a9c00b8959e694d645566c.tar.xz re3-9598a906270c4876c1a9c00b8959e694d645566c.tar.zst re3-9598a906270c4876c1a9c00b8959e694d645566c.zip |
Diffstat (limited to 'src/vehicles/Boat.cpp')
-rw-r--r-- | src/vehicles/Boat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp index 8b5de929..26774cad 100644 --- a/src/vehicles/Boat.cpp +++ b/src/vehicles/Boat.cpp @@ -60,7 +60,7 @@ CBoat::CBoat(int mi, uint8 owner) : CVehicle(owner) m_fMovingSpeed = 0.0f; m_skimmerThingTimer = 0.0f; m_nPoliceShoutTimer = CTimer::GetTimeInMilliseconds(); - SetModelIndex(mi); + CBoat::SetModelIndex(mi); pHandling = mod_HandlingManager.GetHandlingData((eHandlingId)minfo->m_handlingId); pFlyingHandling = mod_HandlingManager.GetFlyingPointer((eHandlingId)minfo->m_handlingId); |