1
0
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:
Michał W. Urbańczyk
2009-02-09 16:27:38 +00:00
parent c83404a375
commit 8e12a5c0a4

View File

@ -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();