mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-25 20:01:04 +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…
Reference in a new issue