mirror of https://github.com/OpenRCT2/OpenRCT2.git
Remove needless null check
This commit is contained in:
parent
f28db5731f
commit
d364b2824f
|
@ -8683,7 +8683,6 @@ void fix_invalid_vehicle_sprite_sizes()
|
|||
rct_ride_entry_vehicle *vehicleEntry = vehicle_get_vehicle_entry(vehicle);
|
||||
|
||||
if (vehicle == NULL ||
|
||||
vehicle == (rct_vehicle*)-1 ||
|
||||
vehicleEntry == NULL ||
|
||||
vehicleEntry == (rct_ride_entry_vehicle*)-1)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue