summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/VehicleModelInfo.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-13 00:02:11 +0200
committeraap <aap@papnet.eu>2020-04-13 00:20:44 +0200
commit3aae52d220e163243c2ee47fde354687f16acb03 (patch)
tree435ed474802361aca3ac7969bfc5477a729a14c3 /src/modelinfo/VehicleModelInfo.cpp
parentMerge pull request #409 from erorcun/erorcun (diff)
downloadre3-3aae52d220e163243c2ee47fde354687f16acb03.tar
re3-3aae52d220e163243c2ee47fde354687f16acb03.tar.gz
re3-3aae52d220e163243c2ee47fde354687f16acb03.tar.bz2
re3-3aae52d220e163243c2ee47fde354687f16acb03.tar.lz
re3-3aae52d220e163243c2ee47fde354687f16acb03.tar.xz
re3-3aae52d220e163243c2ee47fde354687f16acb03.tar.zst
re3-3aae52d220e163243c2ee47fde354687f16acb03.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 }
};