Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 28, 2005, 7:41:27 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/ll2trunktemp: changed the Factory-Macro into a Template, this code will be easyer to read and to debug
also found the segfault when deleting orxonox.
each factory tried to delete itself, because they were initialized implicitely (not with new).
now we only have to delete the first factory at the beginning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/ll2trunktemp/src/game_loader.cc

    r4003 r4004  
    2525#include "command_node.h"
    2626#include "vector.h"
     27#include "factory.h"
    2728
    2829#include <string.h>
     
    188189    {
    189190      // report an error
    190       PRINTF0("Specified XML File is not an orxonox campaign file (Campaign element missing)\n");
     191      PRINTF(0)("Specified XML File is not an orxonox campaign file (Campaign element missing)\n");
    191192      delete XMLDoc;
    192193      return NULL;
Note: See TracChangeset for help on using the changeset viewer.