Refactoring patch by DevHC
This commit is contained in:
1 parent
21668c0616
commit
fef4d12d68
31 files changed
+60
-98
No files matched your search
+1
-1
@@ -1158,7 +1158,7 @@ void Cmd_GameCommand_f( gentity_t *ent ) {
|
||||
if ( player < 0 || player >= MAX_CLIENTS ) {
|
||||
return;
|
||||
}
|
||||
if ( order < 0 || order > sizeof(gc_orders)/sizeof(char *) ) {
|
||||
if ( order < 0 || order > ARRAY_LEN( gc_orders ) ) {
|
||||
return;
|
||||
}
|
||||
G_Say( ent, &g_entities[player], SAY_TELL, gc_orders[order] );
|
||||
|
||||
Reference in new issue
Block a user