diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-11-01 09:46:02 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-11-01 09:46:02 +0200 |
commit | 5711251b0fcf3333c2f96b48dd784fe4c6e1ba25 (patch) | |
tree | 26831d14d35706602abc178c1fa779723e214ea9 /src/vehicles/Automobile.cpp | |
parent | 3c4f166a82d5760849e0f8a02c28a46d734a6c6d (diff) |
Also fix SetModelIndex in CAutomobile and CTrain ctors
Diffstat (limited to 'src/vehicles/Automobile.cpp')
-rw-r--r-- | src/vehicles/Automobile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp index 95a68769..a1c38d21 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -73,7 +73,7 @@ CAutomobile::CAutomobile(int32 id, uint8 CreatedBy) bBigWheels = false; bWaterTight = false; - SetModelIndex(id); + CAutomobile::SetModelIndex(id); pHandling = mod_HandlingManager.GetHandlingData((eHandlingId)mi->m_handlingId); |