Fixed warning?
This commit is contained in:
parent
f7561f31ad
commit
67c57bed49
1 changed files with 1 additions and 1 deletions
|
@ -858,13 +858,13 @@ local void AiCollectResources(void)
|
|||
}
|
||||
}
|
||||
|
||||
#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:");
|
||||
|
|
Loading…
Reference in a new issue