Fixed build, wrong enum comparison.

This commit is contained in:
David Anderson 2009-12-19 18:25:56 -08:00
parent 7a84b71eb2
commit 5f53284cbd

View File

@ -2321,7 +2321,7 @@ void CPluginManager::OnRootConsoleCommand(const char *cmdname, const CCommand &c
char name[PLATFORM_MAX_PATH];
const sm_plugininfo_t *info = pl->GetPublicInfo();
if (pl->GetStatus() <= Pl_Paused)
if (pl->GetStatus() <= Plugin_Paused)
strcpy(name, (IS_STR_FILLED(info->name)) ? info->name : pl->GetFilename());
else
strcpy(name, pl->GetFilename());