mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Replaced most of accesses to CGObjectInstance::pos with anchorPoint()
This commit is contained in:
@ -78,7 +78,7 @@ void CQuestMinimap::addQuestMarks (const QuestInfo * q)
|
||||
|
||||
int3 tile;
|
||||
if (q->obj)
|
||||
tile = q->obj->pos;
|
||||
tile = q->obj->visitablePos();
|
||||
else
|
||||
tile = q->tile;
|
||||
|
||||
@ -104,7 +104,7 @@ void CQuestMinimap::update()
|
||||
void CQuestMinimap::iconClicked()
|
||||
{
|
||||
if(currentQuest->obj)
|
||||
adventureInt->centerOnTile(currentQuest->obj->pos);
|
||||
adventureInt->centerOnTile(currentQuest->obj->visitablePos());
|
||||
//moveAdvMapSelection();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user