Browse Source

Tribool - I used it wrong.

Michał W. Urbańczyk 12 years ago
parent
commit
6e1464b568
1 changed files with 1 additions and 1 deletions
  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)
 	{