kill logical-not-parentheses warning in g_game.c

g_game.c: In function 'G_CheckDemoStatus':
g_game.c:5588:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
   if (!modeattacking == ATTACKING_RECORD)
                      ^
This commit is contained in:
Alam Ed Arias 2016-01-28 21:15:51 -05:00
parent 67b6d618a4
commit 0d327c7c16

View file

@ -5585,7 +5585,7 @@ boolean G_CheckDemoStatus(void)
free(demobuffer); free(demobuffer);
demorecording = false; demorecording = false;
if (!modeattacking == ATTACKING_RECORD) if (modeattacking != ATTACKING_RECORD)
{ {
if (saved) if (saved)
CONS_Printf(M_GetText("Demo %s recorded\n"), demoname); CONS_Printf(M_GetText("Demo %s recorded\n"), demoname);