X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fpathlib%2Fpath_waypoint.qc;h=22d1e732ee8ad6313d50c135ed715cc7c2a73437;hb=786db02b0c9aa618c581b7c3fe7392ad114797d8;hp=73b415537b2233d4faeeb2d16cc9a5443d5f78c4;hpb=40c99b50ee69f18ebe88918e72a4598822c41ea0;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/pathlib/path_waypoint.qc b/qcsrc/server/pathlib/path_waypoint.qc index 73b415537..22d1e732e 100644 --- a/qcsrc/server/pathlib/path_waypoint.qc +++ b/qcsrc/server/pathlib/path_waypoint.qc @@ -137,7 +137,7 @@ entity pathlib_waypointpath(entity wp_from, entity wp_to, float callback) pathlib_movecost = 300; pathlib_movecost_diag = vlen('1 1 0' * pathlib_movecost); - if not (pathlib_wpp_waypointcallback) + if (!pathlib_wpp_waypointcallback) callback = FALSE; if (callback) @@ -147,10 +147,10 @@ entity pathlib_waypointpath(entity wp_from, entity wp_to, float callback) pathlib_heuristic = pathlib_h_none; - if not(openlist) + if (!openlist) openlist = spawn(); - if not(closedlist) + if (!closedlist) closedlist = spawn(); pathlib_closed_cnt = 0;