]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Use x != y instead of !(x == y)
authorMario <zacjardine@y7mail.com>
Sat, 13 Dec 2014 08:35:27 +0000 (19:35 +1100)
committerMario <zacjardine@y7mail.com>
Sat, 13 Dec 2014 08:35:27 +0000 (19:35 +1100)
qcsrc/server/bot/navigation.qc

index 0facbf037d881265dc55c10fb1205dedbfd9c391..001617722ae1fc61eb781bb659061cad7e95edc1 100644 (file)
@@ -117,7 +117,7 @@ float tracewalk(entity e, vector start, vector m1, vector m2, vector end, float
                                                        break;
                                }
 
-                               if (!(pointcontents(org + '0 0 1') == CONTENT_EMPTY))
+                               if(pointcontents(org + '0 0 1') != CONTENT_EMPTY)
                                {
                                        if(autocvar_bot_debug_tracewalk)
                                                debugnodestatus(org, DEBUG_NODE_FAIL);