mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-17 01:32:21 +02:00
* typo in setting hero orientation (move dir)
This commit is contained in:
@ -1231,7 +1231,7 @@ void CPlayerInterface::heroMoved(const HeroMoveDetails & details)
|
|||||||
int3 hp = details.src;
|
int3 hp = details.src;
|
||||||
if (!details.successful) //hero failed to move
|
if (!details.successful) //hero failed to move
|
||||||
{
|
{
|
||||||
if(ho->movement < 50)
|
if(ho->movement > 50)
|
||||||
ho->moveDir = getDir(details.src,details.dst);
|
ho->moveDir = getDir(details.src,details.dst);
|
||||||
ho->isStanding = true;
|
ho->isStanding = true;
|
||||||
adventureInt->heroList.draw();
|
adventureInt->heroList.draw();
|
||||||
|
Reference in New Issue
Block a user