From efe42ccbf3cac5a1172afc67cce353b7fc4981f5 Mon Sep 17 00:00:00 2001
From: johns <>
Date: Mon, 19 Feb 2001 17:33:15 +0000
Subject: [PATCH] Corrected debug messages.

---
 src/stratagus/selection.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/stratagus/selection.cpp b/src/stratagus/selection.cpp
index 93c30d966..d07a02534 100644
--- a/src/stratagus/selection.cpp
+++ b/src/stratagus/selection.cpp
@@ -187,7 +187,7 @@ global int SelectUnitsByType(Unit* base)
 
     type=base->Type;
 
-    DebugLevel3Fn(" (%d)\n",base->UnitType->Type);
+    DebugLevel3Fn(" %s\n",base->Type->Ident);
 
     // select all visible units.
     // StephanR: should be (MapX,MapY,MapX+MapWidth-1,MapY+MapHeight-1) ???