Fix GetCommandFlags for original engine games (bug 3759, r=dvander)
authorFyren <fyrenmoo@gmail.com>
Tue Apr 07 17:24:22 2009 -0700 (2009-04-07)
changeset 26933a3ef7b81219
parent 2692 126e2d41c2b3
child 2694 777111c207fa
Fix GetCommandFlags for original engine games (bug 3759, r=dvander)
public/compat_wrappers.h
     1.1 --- a/public/compat_wrappers.h	Wed Apr 01 05:56:51 2009 -0700
     1.2 +++ b/public/compat_wrappers.h	Tue Apr 07 17:24:22 2009 -0700
     1.3 @@ -84,7 +84,7 @@
     1.4  		{
     1.5  			if (strcmp(pBase->GetName(), name) == 0)
     1.6  			{
     1.7 -				if (pBase->IsCommand())
     1.8 +				if (!pBase->IsCommand())
     1.9  				{
    1.10  					return NULL;
    1.11  				}