Minor change, who knows

master
Allen Webster 2017-11-08 20:19:55 -05:00
parent 7ee470cf6e
commit 277e66f2c4
1 changed files with 1 additions and 1 deletions

View File

@ -825,7 +825,7 @@ interpret_binding_buffer(Models *models, void *buffer, i32 size){
{ {
if (map_ptr != 0){ if (map_ptr != 0){
Command_Function *func = 0; Command_Function *func = 0;
if (unit->binding.command_id >= 0 && unit->binding.command_id < cmdid_count){ if (unit->binding.command_id < cmdid_count){
func = command_table[unit->binding.command_id]; func = command_table[unit->binding.command_id];
} }
if (func != 0){ if (func != 0){