1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00

Use correct comparison for previous commit

This commit is contained in:
duncanspumpkin
2016-11-09 19:16:25 +00:00
parent 2f6f728200
commit 3da10b7d7d

View File

@@ -8142,7 +8142,7 @@ loc_6DC743:
// When the ride is closed occasionally the peep is removed
// but the vehicle is still on the track. This will prevent
// it from crashing in that situation.
if (vehicle->peep[0]) {
if (vehicle->peep[0] != 0xFFFF) {
if (z == 2) {
rct_peep *peep = GET_PEEP(vehicle->peep[0]);
if (peep->id & 7) {