From b49bf1b13c23870c9a4a1754a76704e509c34b04 Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Fri, 30 Mar 2007 02:13:49 +0000 Subject: [PATCH] Fix for amb78: get_concmdsnum result caching causing discrepencies --- amxmodx/CCmd.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/amxmodx/CCmd.cpp b/amxmodx/CCmd.cpp index 0d121839..cc61b7fa 100755 --- a/amxmodx/CCmd.cpp +++ b/amxmodx/CCmd.cpp @@ -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;