mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
* added missing movement arrows (advmap interface)
* corrected centering on hero's position * merged terrainRect and terrainRectSmooth
This commit is contained in:
@@ -1197,14 +1197,7 @@ void CPlayerInterface::heroMoved(const HeroMoveDetails & details)
|
||||
{
|
||||
boost::unique_lock<boost::recursive_mutex> un(*pim);
|
||||
|
||||
int3 buff = details.ho->pos;
|
||||
buff.x-=11;
|
||||
buff.y-=9;
|
||||
buff = repairScreenPos(buff);
|
||||
LOCPLINT->adventureInt->position = buff; //actualizing screen pos
|
||||
|
||||
if(adventureInt == curint)
|
||||
adventureInt->minimap.draw();
|
||||
adventureInt->centerOn(details.ho->pos); //centering screen on hero
|
||||
|
||||
if(details.style>0)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user