fixed ep2 build

fixed a bug in the cmd cleaner code

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401589
This commit is contained in:
David Anderson 2007-10-16 01:29:28 +00:00
parent 796d9b2de8
commit 1ab2bf2139
2 changed files with 2 additions and 1 deletions

View File

@ -99,7 +99,7 @@ public:
{ {
pInfo = (*iter); pInfo = (*iter);
iter = tracked_bases.erase(iter); iter = tracked_bases.erase(iter);
pInfo->cls->OnUnlinkConCommandBase(pBase, pBase->GetName(), true); pInfo->cls->OnUnlinkConCommandBase(pBase, pInfo->name, true);
delete pInfo; delete pInfo;
} }
else else

View File

@ -34,6 +34,7 @@
#include "sm_version.h" #include "sm_version.h"
#include "Logger.h" #include "Logger.h"
#include "concmd_cleaner.h" #include "concmd_cleaner.h"
#include "compat_wrappers.h"
SourceMod_Core g_SourceMod_Core; SourceMod_Core g_SourceMod_Core;
IVEngineServer *engine = NULL; IVEngineServer *engine = NULL;