Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6364 in orxonox.OLD


Ignore:
Timestamp:
Dec 30, 2005, 11:56:26 PM (19 years ago)
Author:
patrick
Message:

network: found a loading error

Location:
branches/network/src/story_entities
Files:
2 edited

Legend:

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

    r6363 r6364  
    8787void MultiPlayerWorld::loadParams(const TiXmlElement* root)
    8888{
    89   static_cast<MultiPlayerWorld*>(this)->loadParams(root);
     89  static_cast<GameWorld*>(this)->loadParams(root);
    9090
    9191  PRINTF(4)("Creating a MultiPlayerWorld\n");
     
    102102ErrorMessage MultiPlayerWorld::preLoad()
    103103{
    104   static_cast<MultiPlayerWorld*>(this)->preLoad();
     104  static_cast<GameWorld*>(this)->preLoad();
    105105
    106106  /* the the single player specific stuff */
     
    113113ErrorMessage MultiPlayerWorld::load()
    114114{
    115   static_cast<MultiPlayerWorld*>(this)->load();
     115  static_cast<GameWorld*>(this)->load();
    116116
    117117  /* the the single player specific stuff here */
     
    124124ErrorMessage MultiPlayerWorld::postLoad()
    125125{
    126   static_cast<MultiPlayerWorld*>(this)->postLoad();
     126  static_cast<GameWorld*>(this)->postLoad();
    127127
    128128  /* the single player specific stuff here */
  • branches/network/src/story_entities/single_player_world.cc

    r6363 r6364  
    8888void SinglePlayerWorld::loadParams(const TiXmlElement* root)
    8989{
    90   static_cast<SinglePlayerWorld*>(this)->loadParams(root);
     90  static_cast<GameWorld*>(this)->loadParams(root);
    9191
    9292  PRINTF(4)("Creating a SinglePlayerWorld\n");
     
    103103ErrorMessage SinglePlayerWorld::preLoad()
    104104{
    105   static_cast<SinglePlayerWorld*>(this)->preLoad();
     105  static_cast<GameWorld*>(this)->preLoad();
    106106
    107107  /* the the single player specific stuff */
     
    114114ErrorMessage SinglePlayerWorld::load()
    115115{
    116   static_cast<SinglePlayerWorld*>(this)->load();
     116  static_cast<GameWorld*>(this)->load();
    117117
    118118  /* the the single player specific stuff here */
     
    136136ErrorMessage SinglePlayerWorld::postLoad()
    137137{
    138   static_cast<SinglePlayerWorld*>(this)->postLoad();
     138  static_cast<GameWorld*>(this)->postLoad();
    139139
    140140  /* the single player specific stuff here */
Note: See TracChangeset for help on using the changeset viewer.