mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Log an error if an unknown vehicle edit command is sent
This commit is contained in:
@@ -6816,6 +6816,8 @@ void game_command_set_ride_vehicles(int *eax, int *ebx, int *ecx, int *edx, int
|
||||
ride->subtype = value;
|
||||
ride_set_vehicle_colours_to_random_preset(ride, *eax & 0xFF);
|
||||
break;
|
||||
default:
|
||||
log_error("Unknown command!");
|
||||
}
|
||||
|
||||
ride->num_circuits = 1;
|
||||
|
||||
Reference in New Issue
Block a user