Browse Source

serialID is gone.

Frank Zago 15 years ago
parent
commit
006a7d1f11
1 changed files with 1 additions and 2 deletions
  1. 1 2
      AI/EmptyAI/CEmptyAI.cpp

+ 1 - 2
AI/EmptyAI/CEmptyAI.cpp

@@ -5,7 +5,6 @@ void CEmptyAI::init(ICallback * CB)
 	cb = CB;
 	human=false;
 	playerID=cb->getMyColor();
-	serialID=cb->getMySerial();
 	std::cout << "EmptyAI initialized." << std::endl;
 }
 void CEmptyAI::yourTurn()
@@ -24,4 +23,4 @@ void CEmptyAI::heroMoved(const HeroMoveDetails &)
 void CEmptyAI::heroGotLevel(const CGHeroInstance *hero, int pskill, std::vector<ui16> &skills, boost::function<void(ui32)> &callback)
 {
 	callback(rand()%skills.size());
-}
+}