cmd: base_cmd: fix inconsistency between linked list and hash map
This commit is contained in:
parent
abda3b52ab
commit
9e618ce3e1
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue