summaryrefslogtreecommitdiffstats
path: root/src/modelinfo
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-07-01 18:03:39 +0200
committeraap <aap@papnet.eu>2020-07-01 18:04:02 +0200
commit2141247e0829baec36c9011f0c660ad7d8e40dd8 (patch)
treef413928cb6dd07e5447113cac0b84e32d45b1318 /src/modelinfo
parentfix (diff)
downloadre3-2141247e0829baec36c9011f0c660ad7d8e40dd8.tar
re3-2141247e0829baec36c9011f0c660ad7d8e40dd8.tar.gz
re3-2141247e0829baec36c9011f0c660ad7d8e40dd8.tar.bz2
re3-2141247e0829baec36c9011f0c660ad7d8e40dd8.tar.lz
re3-2141247e0829baec36c9011f0c660ad7d8e40dd8.tar.xz
re3-2141247e0829baec36c9011f0c660ad7d8e40dd8.tar.zst
re3-2141247e0829baec36c9011f0c660ad7d8e40dd8.zip
Diffstat (limited to 'src/modelinfo')
-rw-r--r--src/modelinfo/VehicleModelInfo.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/modelinfo/VehicleModelInfo.cpp b/src/modelinfo/VehicleModelInfo.cpp
index d1994c06..f80e908a 100644
--- a/src/modelinfo/VehicleModelInfo.cpp
+++ b/src/modelinfo/VehicleModelInfo.cpp
@@ -89,7 +89,17 @@ RwObjectNameIdAssocation boatIds[] = {
{ "boat_flap_right", BOAT_FLAP_RIGHT, 0 },
{ "boat_rearflap_left", BOAT_REARFLAP_LEFT, 0 },
{ "boat_rearflap_right", BOAT_REARFLAP_RIGHT, 0 },
+#ifdef FIX_BUGS
+ // let's just accept both
+ { "windscreen", BOAT_WINDSCREEN, VEHICLE_FLAG_WINDSCREEN | VEHICLE_FLAG_DRAWLAST },
{ "windscreen_hi_ok", BOAT_WINDSCREEN, VEHICLE_FLAG_WINDSCREEN | VEHICLE_FLAG_DRAWLAST },
+#else
+#ifdef GTA_PS2
+ { "windscreen", BOAT_WINDSCREEN, VEHICLE_FLAG_WINDSCREEN | VEHICLE_FLAG_DRAWLAST },
+#else
+ { "windscreen_hi_ok", BOAT_WINDSCREEN, VEHICLE_FLAG_WINDSCREEN | VEHICLE_FLAG_DRAWLAST },
+#endif
+#endif
{ "ped_frontseat", BOAT_POS_FRONTSEAT, VEHICLE_FLAG_POS | CLUMP_FLAG_NO_HIERID },
{ nil, 0, 0 }
};