1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

serialID is gone.

This commit is contained in:
Frank Zago 2010-08-04 03:32:24 +00:00
parent 3c868146a6
commit 006a7d1f11

View File

@ -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());
}
}