From: Martin Taibr Date: Mon, 16 Oct 2017 07:59:27 +0000 (+0200) Subject: i'll just pretend i never saw those 32 braces X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0b5e769d6c291294379e77ac17f7678d04715868;p=xonotic%2Fxonotic-data.pk3dir.git i'll just pretend i never saw those 32 braces --- diff --git a/qcsrc/server/bot/default/navigation.qc b/qcsrc/server/bot/default/navigation.qc index d0061b900..fcc75236d 100644 --- a/qcsrc/server/bot/default/navigation.qc +++ b/qcsrc/server/bot/default/navigation.qc @@ -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* }); } }