瀏覽代碼

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