mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-15 05:29:51 +01:00
cmd: base_cmd: fix inconsistency between linked list and hash map
This commit is contained in:
parent
abda3b52ab
commit
9e618ce3e1
@ -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…
Reference in New Issue
Block a user