diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-13 20:54:25 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-13 20:54:25 +0200 |
commit | 3b0cd93f89a9fea54b155fdae15ec56c6291c2cc (patch) | |
tree | e32278de01df4baf561b3966ef239bd045372e60 /src/modelinfo/VehicleModelInfo.cpp | |
parent | obviously forgot about it (diff) | |
parent | Merge pull request #412 from whampson/save-stuff (diff) | |
download | re3-3b0cd93f89a9fea54b155fdae15ec56c6291c2cc.tar re3-3b0cd93f89a9fea54b155fdae15ec56c6291c2cc.tar.gz re3-3b0cd93f89a9fea54b155fdae15ec56c6291c2cc.tar.bz2 re3-3b0cd93f89a9fea54b155fdae15ec56c6291c2cc.tar.lz re3-3b0cd93f89a9fea54b155fdae15ec56c6291c2cc.tar.xz re3-3b0cd93f89a9fea54b155fdae15ec56c6291c2cc.tar.zst re3-3b0cd93f89a9fea54b155fdae15ec56c6291c2cc.zip |
Diffstat (limited to '')
-rw-r--r-- | src/modelinfo/VehicleModelInfo.cpp | 7 |
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 } }; |