瀏覽代碼

Tribool - I used it wrong.

Michał W. Urbańczyk 12 年之前
父節點
當前提交
6e1464b568
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client/CAdvmapInterface.cpp

+ 1 - 1
client/CAdvmapInterface.cpp

@@ -549,7 +549,7 @@ void CAdvMapInt::updateSleepWake(const CGHeroInstance *h)
 void CAdvMapInt::updateMoveHero(const CGHeroInstance *h, tribool hasPath)
 {
 	//default value is for everywhere but CPlayerInterface::moveHero, because paths are not updated from there immediately
-	if (hasPath == tribool::indeterminate_value)
+	if (hasPath == boost::indeterminate)
 		 hasPath = LOCPLINT->paths[h].nodes.size() ? true : false;
 	if (!h)
 	{