diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-14 00:18:53 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-14 00:18:53 +0200 |
commit | f54c83c0b527e3034538e4c8791f10fc4e313576 (patch) | |
tree | d10bf31e0badad1e55f035c585c47af557e961e9 /src/modelinfo/VehicleModelInfo.cpp | |
parent | scene edit (diff) | |
parent | update readme (diff) | |
download | re3-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.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 } }; |