summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/VehicleModelInfo.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-03-28 18:52:25 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-03-28 18:52:25 +0100
commit775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5 (patch)
tree2832a470b7f2983228875da09ff9ebbf8b944735 /src/modelinfo/VehicleModelInfo.h
parentMerge branch 'master' into garages_dev (diff)
downloadre3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.tar
re3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.tar.gz
re3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.tar.bz2
re3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.tar.lz
re3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.tar.xz
re3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.tar.zst
re3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.zip
Diffstat (limited to 'src/modelinfo/VehicleModelInfo.h')
-rw-r--r--src/modelinfo/VehicleModelInfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modelinfo/VehicleModelInfo.h b/src/modelinfo/VehicleModelInfo.h
index 1a6d6a55..5969c4ca 100644
--- a/src/modelinfo/VehicleModelInfo.h
+++ b/src/modelinfo/VehicleModelInfo.h
@@ -132,5 +132,6 @@ public:
static void ShutdownEnvironmentMaps(void);
static int GetMaximumNumberOfPassengersFromNumberOfDoors(int id);
+ static void SetComponentsToUse(int8 c1, int8 c2) { ms_compsToUse[0] = c1; ms_compsToUse[1] = c2; }
};
static_assert(sizeof(CVehicleModelInfo) == 0x1F8, "CVehicleModelInfo: error");