Fix for amb78: get_concmdsnum result caching causing discrepencies

This commit is contained in:
Steve Dudenhoeffer 2007-03-30 02:13:49 +00:00
parent 81994ecf58
commit b49bf1b13c

View File

@ -124,8 +124,6 @@ CmdMngr::Command* CmdMngr::getCmd(long int id, int type, int access)
int CmdMngr::getCmdNum(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_access = access;
buf_type = type; buf_type = type;