Fix GetCommandFlags for original engine games (bug 3759, r=dvander)

This commit is contained in:
Fyren 2009-04-07 17:24:22 -07:00
parent 9def5e57de
commit 187c0a9bf7

View File

@ -84,7 +84,7 @@
{ {
if (strcmp(pBase->GetName(), name) == 0) if (strcmp(pBase->GetName(), name) == 0)
{ {
if (pBase->IsCommand()) if (!pBase->IsCommand())
{ {
return NULL; return NULL;
} }