From 0b5e769d6c291294379e77ac17f7678d04715868 Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Mon, 16 Oct 2017 09:59:27 +0200 Subject: [PATCH] i'll just pretend i never saw those 32 braces --- qcsrc/server/bot/default/navigation.qc | 2 ++ 1 file changed, 2 insertions(+) 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* }); } } -- 2.39.2