[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/ai ai_resource.c
From: |
Crestez Leonard |
Subject: |
[Stratagus-CVS] stratagus/src/ai ai_resource.c |
Date: |
Fri, 26 Sep 2003 21:58:59 -0400 |
CVSROOT: /cvsroot/stratagus
Module name: stratagus
Branch:
Changes by: Crestez Leonard <address@hidden> 03/09/26 21:58:59
Modified files:
src/ai : ai_resource.c
Log message:
Fixed warning?
Patches:
Index: stratagus/src/ai/ai_resource.c
diff -u stratagus/src/ai/ai_resource.c:1.70 stratagus/src/ai/ai_resource.c:1.71
--- stratagus/src/ai/ai_resource.c:1.70 Thu Sep 25 02:58:35 2003
+++ stratagus/src/ai/ai_resource.c Fri Sep 26 21:58:59 2003
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: ai_resource.c,v 1.70 2003/09/25 06:58:35 mr-russ Exp $
+// $Id: ai_resource.c,v 1.71 2003/09/27 01:58:59 n0body Exp $
//@{
@@ -858,13 +858,13 @@
}
}
-#ifdef DEBUG
total=0;
for( c=0; c<MaxCosts; ++c ) {
total+=num_units_assigned[c]+num_units_with_resource[c];
DebugLevel3Fn("Assigned %d = %d\n" _C_ c _C_ num_units_assigned[c]);
DebugLevel3Fn("Resource %d = %d\n" _C_ c _C_
num_units_with_resource[c]);
}
+#ifdef DEBUG
DebugLevel3Fn("Unassigned %d of total %d\n" _C_ num_units_unassigned[c]
_C_ total);
if (AiPlayer->Player==ThisPlayer) {
DebugLevel3Fn("Percent Assignment:");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Stratagus-CVS] stratagus/src/ai ai_resource.c,
Crestez Leonard <=