summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-11-01 08:46:02 +0100
committerSergeanur <s.anureev@yandex.ua>2020-11-01 08:46:02 +0100
commit5711251b0fcf3333c2f96b48dd784fe4c6e1ba25 (patch)
tree26831d14d35706602abc178c1fa779723e214ea9
parentFix virtual SetModelIndex call in CBoat ctor (diff)
downloadre3-5711251b0fcf3333c2f96b48dd784fe4c6e1ba25.tar
re3-5711251b0fcf3333c2f96b48dd784fe4c6e1ba25.tar.gz
re3-5711251b0fcf3333c2f96b48dd784fe4c6e1ba25.tar.bz2
re3-5711251b0fcf3333c2f96b48dd784fe4c6e1ba25.tar.lz
re3-5711251b0fcf3333c2f96b48dd784fe4c6e1ba25.tar.xz
re3-5711251b0fcf3333c2f96b48dd784fe4c6e1ba25.tar.zst
re3-5711251b0fcf3333c2f96b48dd784fe4c6e1ba25.zip
Diffstat (limited to '')
-rw-r--r--src/vehicles/Automobile.cpp2
-rw-r--r--src/vehicles/Train.cpp2
2 files changed, 2 insertions, 2 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);
diff --git a/src/vehicles/Train.cpp b/src/vehicles/Train.cpp
index 26d0dee7..98d522a7 100644
--- a/src/vehicles/Train.cpp
+++ b/src/vehicles/Train.cpp
@@ -44,7 +44,7 @@ CTrain::CTrain(int32 id, uint8 CreatedBy)
CVehicleModelInfo *mi = (CVehicleModelInfo*)CModelInfo::GetModelInfo(id);
m_vehType = VEHICLE_TYPE_TRAIN;
pHandling = mod_HandlingManager.GetHandlingData((eHandlingId)mi->m_handlingId);
- SetModelIndex(id);
+ CTrain::SetModelIndex(id);
Doors[0].Init(0.8f, 0.0f, 1, 0);
Doors[1].Init(-0.8f, 0.0f, 0, 0);