]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
i'll just pretend i never saw those 32 braces
authorMartin Taibr <taibr.martin@gmail.com>
Mon, 16 Oct 2017 07:59:27 +0000 (09:59 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Mon, 16 Oct 2017 07:59:27 +0000 (09:59 +0200)
qcsrc/server/bot/default/navigation.qc

index d0061b90068efbcade910b2332e20c5aff9198b5..fcc75236dc3b49b5c4ecf5c7986c91bd0e36cc62 100644 (file)
@@ -608,6 +608,7 @@ void navigation_markroutes(entity this, entity fixed_source_waypoint)
                        cost = it.wpcost;
                        p = it.wpnearestpoint;
                        entity wp;
+                       // *INDENT-OFF*
                        wp = it.wp00;if (wp){cost2 = cost + wp.dmg;if (wp.wpcost > cost2 + it.wp00mincost) navigation_markroutes_checkwaypoint(it, wp, cost2, p);
                        wp = it.wp01;if (wp){cost2 = cost + wp.dmg;if (wp.wpcost > cost2 + it.wp01mincost) navigation_markroutes_checkwaypoint(it, wp, cost2, p);
                        wp = it.wp02;if (wp){cost2 = cost + wp.dmg;if (wp.wpcost > cost2 + it.wp02mincost) navigation_markroutes_checkwaypoint(it, wp, cost2, p);
@@ -641,6 +642,7 @@ void navigation_markroutes(entity this, entity fixed_source_waypoint)
                        wp = it.wp30;if (wp){cost2 = cost + wp.dmg;if (wp.wpcost > cost2 + it.wp30mincost) navigation_markroutes_checkwaypoint(it, wp, cost2, p);
                        wp = it.wp31;if (wp){cost2 = cost + wp.dmg;if (wp.wpcost > cost2 + it.wp31mincost) navigation_markroutes_checkwaypoint(it, wp, cost2, p);
                        }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
+                       // *INDENT-ON*
                });
        }
 }