summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/VehicleModelInfo.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-14 00:18:53 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-14 00:18:53 +0200
commitf54c83c0b527e3034538e4c8791f10fc4e313576 (patch)
treed10bf31e0badad1e55f035c585c47af557e961e9 /src/modelinfo/VehicleModelInfo.cpp
parentscene edit (diff)
parentupdate readme (diff)
downloadre3-f54c83c0b527e3034538e4c8791f10fc4e313576.tar
re3-f54c83c0b527e3034538e4c8791f10fc4e313576.tar.gz
re3-f54c83c0b527e3034538e4c8791f10fc4e313576.tar.bz2
re3-f54c83c0b527e3034538e4c8791f10fc4e313576.tar.lz
re3-f54c83c0b527e3034538e4c8791f10fc4e313576.tar.xz
re3-f54c83c0b527e3034538e4c8791f10fc4e313576.tar.zst
re3-f54c83c0b527e3034538e4c8791f10fc4e313576.zip
Diffstat (limited to 'src/modelinfo/VehicleModelInfo.cpp')
-rw-r--r--src/modelinfo/VehicleModelInfo.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/modelinfo/VehicleModelInfo.cpp b/src/modelinfo/VehicleModelInfo.cpp
index 432a9ea2..0c45aa12 100644
--- a/src/modelinfo/VehicleModelInfo.cpp
+++ b/src/modelinfo/VehicleModelInfo.cpp
@@ -12,6 +12,7 @@
#include "World.h"
#include "Vehicle.h"
#include "Automobile.h"
+#include "Boat.h"
#include "Train.h"
#include "Plane.h"
#include "Heli.h"
@@ -80,9 +81,9 @@ RwObjectNameIdAssocation carIds[] = {
};
RwObjectNameIdAssocation boatIds[] = {
- { "boat_moving_hi", 1, VEHICLE_FLAG_COLLAPSE },
- { "boat_rudder_hi", 3, VEHICLE_FLAG_COLLAPSE },
- { "windscreen", 2, VEHICLE_FLAG_WINDSCREEN | VEHICLE_FLAG_COLLAPSE },
+ { "boat_moving_hi", BOAT_MOVING, VEHICLE_FLAG_COLLAPSE },
+ { "boat_rudder_hi", BOAT_RUDDER, VEHICLE_FLAG_COLLAPSE },
+ { "windscreen", BOAT_WINDSCREEN, VEHICLE_FLAG_WINDSCREEN | VEHICLE_FLAG_COLLAPSE },
{ "ped_frontseat", BOAT_POS_FRONTSEAT, VEHICLE_FLAG_POS | CLUMP_FLAG_NO_HIERID },
{ nil, 0, 0 }
};