mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Improve wander logging
This commit is contained in:
parent
ff2ac5b34b
commit
fa97940b4f
@ -1470,7 +1470,8 @@ void VCAI::wander(HeroPtr h)
|
||||
decomposeGoal(bestObjectGoal)->accept(this);
|
||||
|
||||
//wander should not cause heroes to be reserved - they are always considered free
|
||||
logAi->debug("Of all %d destinations, object oid=%d seems nice", dests.size(), bestObjectGoal->objid);
|
||||
auto chosenObject = cb->getObjInstance(ObjectInstanceID(bestObjectGoal->objid));
|
||||
logAi->debug("Of all %d destinations, object %s at pos=%s seems nice", dests.size(), chosenObject->getObjectName(), chosenObject->pos.toString());
|
||||
|
||||
visitTownIfAny(h);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user