Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10513 in orxonox.OLD for trunk/src/story_entities


Ignore:
Timestamp:
Jan 30, 2007, 8:12:15 PM (18 years ago)
Author:
patrick
Message:

ai segfault fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/game_world_data.cc

    r10428 r10513  
    5252#include "network_manager.h"
    5353#include "physics_engine.h"
     54#include "ai_engine.h"
    5455
    5556#include "glmenu_imagescreen.h"
     
    105106  //State::setCameraman(camMan);
    106107  LightManager::getInstance();
     108  AIEngine::getInstance();
    107109
    108110//  GraphicsEngine::getInstance()->displayFPS(true);
     
    130132    this->setName(string.c_str());
    131133
     134
    132135  this->loadGUI(root);
    133136  this->loadWorldEntities(root);
     
    148151  this->unloadScene();
    149152  this->unloadCameras();
     153
     154  // killl ai engine
     155  delete AIEngine::getInstance();
    150156
    151157  return ErrorMessage();
Note: See TracChangeset for help on using the changeset viewer.