Log an error if an unknown vehicle edit command is sent

This commit is contained in:
Gymnasiast committed 2015-12-13 15:49:23 +01:00
1 parent e9840b7488
commit 1873e387ca
1 file changed
+2
+2
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;