Fix potentially uninitialized variable

This commit is contained in:
X123M3-256 authored and Michael Steenbeek committed 2017-07-11 19:57:30 +02:00
1 parent b73c954362
commit a2545d7050
1 file changed
+1
+1
View File
@@ -7460,6 +7460,7 @@ loc_6DB41D:
}
trackType = mapElement->properties.track.type;
rideType = get_ride(mapElement->properties.track.ride_index)->type;
if (trackType != TRACK_ELEM_BRAKES) {
vehicle->target_seat_rotation = mapElement->properties.track.colour >> 4;
}