Fix for amb78: get_concmdsnum result caching causing discrepencies
This commit is contained in:
parent
81994ecf58
commit
b49bf1b13c
@ -124,8 +124,6 @@ CmdMngr::Command* CmdMngr::getCmd(long int id, int type, int access)
|
||||
|
||||
int CmdMngr::getCmdNum(int type, int access)
|
||||
{
|
||||
if ((access == buf_access) && (type == buf_type))
|
||||
return buf_num; // once calculated don't have to be done again
|
||||
|
||||
buf_access = access;
|
||||
buf_type = type;
|
||||
|
Loading…
Reference in New Issue
Block a user