]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix cases of if not
authorMario <zacjardine@y7mail.com>
Sun, 14 Dec 2014 11:29:19 +0000 (22:29 +1100)
committerMario <zacjardine@y7mail.com>
Sun, 14 Dec 2014 11:29:19 +0000 (22:29 +1100)
qcsrc/menu/xonotic/demolist.c
qcsrc/menu/xonotic/dialog_multiplayer_media_demo.c

index f04fde83d8b1f7fd415a3d7b709e930b0ebb956a..f2e209ca4d2b38190cdc64ec1f382f4756e4569d 100644 (file)
@@ -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);
        }
index a35972e0001f451aab2ec46d9c9c05284036207d..092355126fe44f3b476934248c309090ebd073fa 100644 (file)
@@ -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); }