summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-11-01 11:30:23 +0100
committerSergeanur <s.anureev@yandex.ua>2020-11-01 11:31:37 +0100
commitdb84afd263d5e9ed4ef863b4ede8dfd2b33e9cdf (patch)
tree77eca1fc6c49200e1360001da9df830b434b15b3
parentMerge pull request #791 from majesticCoding/miami (diff)
downloadre3-db84afd263d5e9ed4ef863b4ede8dfd2b33e9cdf.tar
re3-db84afd263d5e9ed4ef863b4ede8dfd2b33e9cdf.tar.gz
re3-db84afd263d5e9ed4ef863b4ede8dfd2b33e9cdf.tar.bz2
re3-db84afd263d5e9ed4ef863b4ede8dfd2b33e9cdf.tar.lz
re3-db84afd263d5e9ed4ef863b4ede8dfd2b33e9cdf.tar.xz
re3-db84afd263d5e9ed4ef863b4ede8dfd2b33e9cdf.tar.zst
re3-db84afd263d5e9ed4ef863b4ede8dfd2b33e9cdf.zip
-rw-r--r--src/vehicles/Automobile.cpp2
-rw-r--r--src/vehicles/Boat.cpp2
-rw-r--r--src/vehicles/Train.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp
index 77a7467a..d1a7505e 100644
--- a/src/vehicles/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
@@ -79,7 +79,7 @@ CAutomobile::CAutomobile(int32 id, uint8 CreatedBy)
bBigWheels = false;
bWaterTight = false;
- CAutomobile::SetModelIndex(id);
+ SetModelIndex(id);
// Already done in CVehicle...
switch(GetModelIndex()){
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp
index 26774cad..8b5de929 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();
- CBoat::SetModelIndex(mi);
+ SetModelIndex(mi);
pHandling = mod_HandlingManager.GetHandlingData((eHandlingId)minfo->m_handlingId);
pFlyingHandling = mod_HandlingManager.GetFlyingPointer((eHandlingId)minfo->m_handlingId);
diff --git a/src/vehicles/Train.cpp b/src/vehicles/Train.cpp
index 9f30cfb7..fb8361c5 100644
--- a/src/vehicles/Train.cpp
+++ b/src/vehicles/Train.cpp
@@ -45,7 +45,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);
- CTrain::SetModelIndex(id);
+ SetModelIndex(id);
Doors[0].Init(0.8f, 0.0f, 1, 0);
Doors[1].Init(-0.8f, 0.0f, 0, 0);