From 3da10b7d7db8fe60ca6cb1e277f39abe532e956b Mon Sep 17 00:00:00 2001 From: duncanspumpkin Date: Wed, 9 Nov 2016 19:16:25 +0000 Subject: [PATCH] Use correct comparison for previous commit --- src/ride/vehicle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ride/vehicle.c b/src/ride/vehicle.c index 01c017ce07..3d3092ca3c 100644 --- a/src/ride/vehicle.c +++ b/src/ride/vehicle.c @@ -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) {