فهرست منبع

* typo in setting hero orientation (move dir)

Michał W. Urbańczyk 16 سال پیش
والد
کامیت
8e12a5c0a4
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      CPlayerInterface.cpp

+ 1 - 1
CPlayerInterface.cpp

@@ -1231,7 +1231,7 @@ void CPlayerInterface::heroMoved(const HeroMoveDetails & details)
 	int3 hp = details.src;
 	if (!details.successful) //hero failed to move
 	{
-		if(ho->movement < 50)
+		if(ho->movement > 50)
 			ho->moveDir = getDir(details.src,details.dst);
 		ho->isStanding = true;
 		adventureInt->heroList.draw();