From 7502b477d828e603fcb19ce27ec35bf26984dcc2 Mon Sep 17 00:00:00 2001 From: johns <> Date: Thu, 15 Mar 2001 01:04:13 +0000 Subject: [PATCH] Fixed compile without NEW_ORDERS and with DEBUG. --- src/action/action_attack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/action/action_attack.cpp b/src/action/action_attack.cpp index 0c7639188..60c2616df 100644 --- a/src/action/action_attack.cpp +++ b/src/action/action_attack.cpp @@ -371,9 +371,9 @@ local void MoveToTarget(Unit* unit) } else if( err<0 ) { #endif unit->State=unit->SubAction=0; - DebugLevel0Fn("%d\n",unit->Orders[0].Action); // Return to old task? #ifdef NEW_ORDERS + DebugLevel0Fn("%d\n",unit->Orders[0].Action); if( err==-2 ) { DebugLevel0Fn("Target not reachable\n"); }