summaryrefslogtreecommitdiff
path: root/src/vehicles/Automobile.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-11-01 09:46:02 +0200
committerSergeanur <s.anureev@yandex.ua>2020-11-01 09:46:02 +0200
commit5711251b0fcf3333c2f96b48dd784fe4c6e1ba25 (patch)
tree26831d14d35706602abc178c1fa779723e214ea9 /src/vehicles/Automobile.cpp
parentFix virtual SetModelIndex call in CBoat ctor (diff)
downloadre3-5711251b0fcf3333c2f96b48dd784fe4c6e1ba25.tar.gz
Also fix SetModelIndex in CAutomobile and CTrain ctors
Diffstat (limited to 'src/vehicles/Automobile.cpp')
-rw-r--r--src/vehicles/Automobile.cpp2
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);