Browse Source

cmd: base_cmd: fix inconsistency between linked list and hash map

pull/2/head
Alibek Omarov 6 years ago
parent
commit
9e618ce3e1
  1. 4
      engine/common/cmd.c

4
engine/common/cmd.c

@ -1112,6 +1112,10 @@ void Cmd_Unlink( int group ) @@ -1112,6 +1112,10 @@ void Cmd_Unlink( int group )
continue;
}
#if defined(XASH_HASHED_VARS)
BaseCmd_Remove( HM_CMD, cmd->name );
#endif
*prev = cmd->next;
if( cmd->name ) Mem_Free( cmd->name );

Loading…
Cancel
Save