Fix warning in release.
This commit is contained in:
parent
6534ded89e
commit
b354b21604
1 changed files with 2 additions and 0 deletions
|
@ -1033,11 +1033,13 @@ bool COrder_Resource::WaitInDepot(CUnit &unit)
|
|||
this->SetGoal(goal);
|
||||
this->goalPos.x = this->goalPos.y = -1;
|
||||
} else {
|
||||
#ifdef DEBUG
|
||||
const Vec2i& pos = mine ? mine->tilePos : unit.tilePos;
|
||||
DebugPrint("%d: Worker %d report: [%d,%d] Resource gone near [%d,%d] in range %d. Sit and play dumb.\n"
|
||||
_C_ unit.Player->Index _C_ unit.Slot
|
||||
_C_ unit.tilePos.x _C_ unit.tilePos.y
|
||||
_C_ pos.x _C_ pos.y _C_ range);
|
||||
#endif // DEBUG
|
||||
if (depot) {
|
||||
DropOutOnSide(unit, LookingW, depot);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue