diff --git a/src/unit/unit_draw.cpp b/src/unit/unit_draw.cpp
index 8cc7cb618..cddb13626 100644
--- a/src/unit/unit_draw.cpp
+++ b/src/unit/unit_draw.cpp
@@ -666,7 +666,11 @@ void ShowOrder(const CUnit &unit)
 	if (unit.Destroyed) {
 		return;
 	}
-	if (!DEBUG && unit.Player != ThisPlayer && !ThisPlayer->IsAllied(unit)) {
+	if (!ThisPlayer->IsAllied(unit)
+#ifndef DEBUG
+		&& unit.Player != ThisPlayer
+#endif
+	   ) {
 		return;
 	}
 	// Get current position