summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-24 22:48:32 +0100
committeraap <aap@papnet.eu>2021-01-24 22:50:16 +0100
commitce7f166ba387c5368d500faffa676243bc9a3476 (patch)
tree438e06233fc4e02891b120733d84e8c9a93d95ac /src/vehicles/Vehicle.cpp
parentCPedModelInfo and CTempColModels (diff)
downloadre3-ce7f166ba387c5368d500faffa676243bc9a3476.tar
re3-ce7f166ba387c5368d500faffa676243bc9a3476.tar.gz
re3-ce7f166ba387c5368d500faffa676243bc9a3476.tar.bz2
re3-ce7f166ba387c5368d500faffa676243bc9a3476.tar.lz
re3-ce7f166ba387c5368d500faffa676243bc9a3476.tar.xz
re3-ce7f166ba387c5368d500faffa676243bc9a3476.tar.zst
re3-ce7f166ba387c5368d500faffa676243bc9a3476.zip
Diffstat (limited to '')
-rw-r--r--src/vehicles/Vehicle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp
index 02852cee..3a6fb624 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -217,8 +217,8 @@ void
CVehicle::SetModelIndex(uint32 id)
{
CEntity::SetModelIndex(id);
- m_aExtras[0] = CVehicleModelInfo::ms_compsUsed[0];
- m_aExtras[1] = CVehicleModelInfo::ms_compsUsed[1];
+ m_aExtras[0] = CVehicleModelInfo::mspInfo->ms_compsUsed[0];
+ m_aExtras[1] = CVehicleModelInfo::mspInfo->ms_compsUsed[1];
m_nNumMaxPassengers = CVehicleModelInfo::GetMaximumNumberOfPassengersFromNumberOfDoors(id);
}