Fix modeattacking being assumed to be boolean in K_CanChangeRules

This commit is contained in:
toaster 2022-10-16 14:22:51 +01:00
parent ce020d7207
commit 735c487b65

View file

@ -727,7 +727,7 @@ boolean K_CanChangeRules(boolean allowdemos)
return false;
}
if (modeattacking == true)
if (modeattacking != ATTACKING_NONE)
{
// Don't cheat the rules of Time Trials!
return false;