diff --git a/AI/VCAI/Goals.h b/AI/VCAI/Goals.h index 1cb8e2833..a742323c6 100644 --- a/AI/VCAI/Goals.h +++ b/AI/VCAI/Goals.h @@ -470,6 +470,7 @@ public: : CGoal(Goals::GET_OBJ) { objid = Objid; + tile = cb->getObjInstance(ObjectInstanceID(objid))->visitablePos(); priority = 3; } TGoalVec getAllPossibleSubgoals() override;