diff --git a/src/action/action_harvest.cpp b/src/action/action_harvest.cpp
index dbf083db8..16414aec2 100644
--- a/src/action/action_harvest.cpp
+++ b/src/action/action_harvest.cpp
@@ -270,12 +270,12 @@ local int ReturnWithWood(Unit* unit)
 	}
 	unit->Command.Data.Move.Goal=NoUnitP;
 	--destu->Refs;
-    }
 #else
 
     // FIXME: stored target not used!
 
 #endif
+    }
 
     x=unit->Command.Data.Move.DX;
     y=unit->Command.Data.Move.DY;