- fixed crash in AI on close

This commit is contained in:
Mark Vejvoda 2012-03-17 21:29:03 +00:00
parent 62254685d5
commit 5d6b73517f
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ using namespace Shared::Graphics;
namespace Glest{ namespace Game{
AiInterface::AiInterface(Game &game, int factionIndex, int teamIndex, int useStartLocation) {
AiInterface::AiInterface(Game &game, int factionIndex, int teamIndex, int useStartLocation) : fp(NULL) {
if(SystemFlags::getSystemSettingType(SystemFlags::debugSystem).enabled) SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
this->world= game.getWorld();