Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 10, 2006, 2:00:20 AM (18 years ago)
Author:
patrick
Message:

network: skybox parenting fix

File:
1 edited

Legend:

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

    r6424 r6459  
    4848
    4949#include "glmenu_imagescreen.h"
     50
    5051
    5152
     
    177178    this->localPlayer = new Player();
    178179    Playable* playable;
    179     const list<BaseObject*>* playableList = ClassList::getList(CL_PLAYABLE);
     180    const std::list<BaseObject*>* playableList = ClassList::getList(CL_PLAYABLE);
     181    assert( playableList != NULL);
     182
     183    std::list<BaseObject*>::const_iterator entity;
     184    for (entity = playableList->begin(); entity != playableList->end(); entity++)
     185      PRINTF(0)("Got a playable, class: %s, name: %s\n", (*entity)->getClassName(), (*entity)->getName());
     186
     187
    180188    if (playableList != NULL)
    181189    {
     
    184192    }
    185193
    186 
    187194    /* init the pnode tree */
    188195    PNode::getNullParent()->init();
Note: See TracChangeset for help on using the changeset viewer.