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
1 changed files with 2 additions and 0 deletions

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;