1
0
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:
Gymnasiast
2015-09-14 15:21:13 +02:00
parent e9840b7488
commit 1873e387ca

View File

@@ -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;