diff options
author | erorcun <erayorcunus@gmail.com> | 2020-04-13 11:51:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 11:51:16 +0200 |
commit | c35efa23d7da71cdba8e918687f08487df7629db (patch) | |
tree | 435ed474802361aca3ac7969bfc5477a729a14c3 /src/modelinfo/VehicleModelInfo.cpp | |
parent | Merge pull request #409 from erorcun/erorcun (diff) | |
parent | finished CBoat (diff) | |
download | re3-c35efa23d7da71cdba8e918687f08487df7629db.tar re3-c35efa23d7da71cdba8e918687f08487df7629db.tar.gz re3-c35efa23d7da71cdba8e918687f08487df7629db.tar.bz2 re3-c35efa23d7da71cdba8e918687f08487df7629db.tar.lz re3-c35efa23d7da71cdba8e918687f08487df7629db.tar.xz re3-c35efa23d7da71cdba8e918687f08487df7629db.tar.zst re3-c35efa23d7da71cdba8e918687f08487df7629db.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 } }; |