- fixed crash in AI on close
This commit is contained in:
parent
62254685d5
commit
5d6b73517f
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue