Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 31, 2005, 4:11:34 PM (20 years ago)
Author:
patrick
Message:

network: load param is now processed correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/story_entities/game_world.cc

    r6374 r6376  
    149149void GameWorld::loadParams(const TiXmlElement* root)
    150150{
    151   PRINTF(4)("Creating a GameWorld\n");
    152 
    153   LoadParam(root, "identifier", this, GameWorld, setStoryID)
    154     .describe("Sets the StoryID of this world");
    155 
    156   LoadParam(root, "nextid", this, GameWorld, setNextStoryID)
    157     .describe("Sets the ID of the next world");
     151  static_cast<StoryEntity*>(this)->loadParams(root);
    158152
    159153  LoadParam(root, "path", this, GameWorld, setPath)
    160154    .describe("The Filename of this GameWorld (relative from the data-dir)");
     155
     156  PRINTF(4)("Loaded GameWorld specific stuff\n");
    161157}
    162158
Note: See TracChangeset for help on using the changeset viewer.