mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-22 21:04:14 +00: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…
x
Reference in New Issue
Block a user