From 250370d89966398e72f670bb6af1e9bdbb1e6cb5 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 14 Dec 2014 22:29:19 +1100 Subject: [PATCH] Fix cases of if not --- qcsrc/menu/xonotic/demolist.c | 2 +- qcsrc/menu/xonotic/dialog_multiplayer_media_demo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/menu/xonotic/demolist.c b/qcsrc/menu/xonotic/demolist.c index f04fde83d..f2e209ca4 100644 --- a/qcsrc/menu/xonotic/demolist.c +++ b/qcsrc/menu/xonotic/demolist.c @@ -192,7 +192,7 @@ void XonoticDemoList_timeDemo(entity me) void DemoConfirm_ListClick_Check_Gamestatus(entity me) { - if not(gamestatus & (GAME_CONNECTED | GAME_ISSERVER)) // we're not in a match, lets watch the demo + if(!(gamestatus & (GAME_CONNECTED | GAME_ISSERVER))) // we're not in a match, lets watch the demo { me.startDemo(me); } diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_media_demo.c b/qcsrc/menu/xonotic/dialog_multiplayer_media_demo.c index a35972e00..092355126 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_media_demo.c +++ b/qcsrc/menu/xonotic/dialog_multiplayer_media_demo.c @@ -16,7 +16,7 @@ const float DMO_TIME = 2; #ifdef IMPLEMENTATION void DemoConfirm_Check_Gamestatus(entity btn, entity me) { - if not(gamestatus & (GAME_CONNECTED | GAME_ISSERVER)) // we're not in a match, lets watch the demo + if(!(gamestatus & (GAME_CONNECTED | GAME_ISSERVER))) // we're not in a match, lets watch the demo { if(btn.democlicktype == DMO_PLAY) { demolist.startDemo(demolist); } -- 2.39.2