Michał W. Urbańczyk %!s(int64=12) %!d(string=hai) anos
pai
achega
01e563b579
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      CCallback.cpp

+ 1 - 1
CCallback.cpp

@@ -246,7 +246,7 @@ void CCallback::setSelection(const CArmedInstance * obj)
 			cl->calculatePaths(static_cast<const CGHeroInstance *>(obj));
 
 		//nasty workaround. TODO: nice workaround
-		//cl->gs->getPlayer(*player)->currentSelection = obj->id;
+		cl->gs->getPlayer(*player)->currentSelection = obj->id;
 	}
 }