Erwan
- 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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user