summaryrefslogtreecommitdiffstats
path: root/src/vehicles
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:30:23 +0100
commit1f5a6dab67d37af7e3686e29fc81d0f8e5bb5597 (patch)
tree3ea854e3cdf5ec694a2b702e154b9ae7bd112476 /src/vehicles
parentremove autosave at end of mission under MISSION_REPLAY (diff)
downloadre3-1f5a6dab67d37af7e3686e29fc81d0f8e5bb5597.tar
re3-1f5a6dab67d37af7e3686e29fc81d0f8e5bb5597.tar.gz
re3-1f5a6dab67d37af7e3686e29fc81d0f8e5bb5597.tar.bz2
re3-1f5a6dab67d37af7e3686e29fc81d0f8e5bb5597.tar.lz
re3-1f5a6dab67d37af7e3686e29fc81d0f8e5bb5597.tar.xz
re3-1f5a6dab67d37af7e3686e29fc81d0f8e5bb5597.tar.zst
re3-1f5a6dab67d37af7e3686e29fc81d0f8e5bb5597.zip
Diffstat (limited to 'src/vehicles')
-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 a1c38d21..95a68769 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;
- CAutomobile::SetModelIndex(id);
+ SetModelIndex(id);
pHandling = mod_HandlingManager.GetHandlingData((eHandlingId)mi->m_handlingId);
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp
index a33b9770..dfe9d1d9 100644
--- a/src/vehicles/Boat.cpp
+++ b/src/vehicles/Boat.cpp
@@ -48,7 +48,7 @@ CBoat::CBoat(int mi, uint8 owner) : CVehicle(owner)
m_fSteeringLeftRight = 0.0f;
m_nPadID = 0;
m_fMovingRotation = 0.0f;
- CBoat::SetModelIndex(mi);
+ SetModelIndex(mi);
pHandling = mod_HandlingManager.GetHandlingData((eHandlingId)minfo->m_handlingId);
minfo->ChooseVehicleColour(m_currentColour1, m_currentColour2);
diff --git a/src/vehicles/Train.cpp b/src/vehicles/Train.cpp
index 98d522a7..26d0dee7 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);
- CTrain::SetModelIndex(id);
+ SetModelIndex(id);
Doors[0].Init(0.8f, 0.0f, 1, 0);
Doors[1].Init(-0.8f, 0.0f, 0, 0);