Fix GetCommandFlags for original engine games (bug 3759, r=dvander)
This commit is contained in:
parent
9def5e57de
commit
187c0a9bf7
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user