mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
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:
parent
67b6d618a4
commit
0d327c7c16
1 changed files with 1 additions and 1 deletions
|
|
@ -5585,7 +5585,7 @@ boolean G_CheckDemoStatus(void)
|
|||
free(demobuffer);
|
||||
demorecording = false;
|
||||
|
||||
if (!modeattacking == ATTACKING_RECORD)
|
||||
if (modeattacking != ATTACKING_RECORD)
|
||||
{
|
||||
if (saved)
|
||||
CONS_Printf(M_GetText("Demo %s recorded\n"), demoname);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue