- Lords are now taken into account in AI statistics. (To display information, uncomment RENDER_AI_STATS in config.h)
- fixed a potential segfault with NoFizzle
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-12-03 02:05:03 +00:00
parent 88d771b3be
commit ea3ed7061f
8 changed files with 66 additions and 2 deletions

View File

@@ -743,6 +743,12 @@ int AIPlayer::receiveEvent(WEvent * event){
return 0;
}
void AIPlayer::Render(){
#ifdef RENDER_AI_STATS
if (getStats()) getStats()->Render();
#endif
}
int AIPlayerBaka::Act(float dt){
GameObserver * g = GameObserver::GetInstance();