mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +02:00
Set destination tile in GetObj - needed for priority evaluation
This commit is contained in:
parent
fa97940b4f
commit
4b776db1a2
@ -470,6 +470,7 @@ public:
|
||||
: CGoal(Goals::GET_OBJ)
|
||||
{
|
||||
objid = Objid;
|
||||
tile = cb->getObjInstance(ObjectInstanceID(objid))->visitablePos();
|
||||
priority = 3;
|
||||
}
|
||||
TGoalVec getAllPossibleSubgoals() override;
|
||||
|
Loading…
x
Reference in New Issue
Block a user