Changeset 8228 in orxonox.OLD for trunk/src/lib/network/player_stats.cc
- Timestamp:
- Jun 8, 2006, 11:19:08 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/network/player_stats.cc
r8147 r8228 21 21 #include "player.h" 22 22 #include "state.h" 23 #include "shared_network_data.h" 23 24 24 25 … … 85 86 this->setPlayableUniqueId( this->playableUniqueId ); 86 87 87 PRINTF(0)("uniqueID changed %d %d \n", userId, getHostID());88 PRINTF(0)("uniqueID changed %d %d %d\n", userId, getHostID(), getUniqueID()); 88 89 } 89 90 } … … 99 100 100 101 if ( !list ) 102 { 101 103 return NULL; 104 } 102 105 103 106 for ( std::list<BaseObject*>::const_iterator it = list->begin(); it != list->end(); it++ ) … … 108 111 } 109 112 } 110 111 //TODO maybe we should create an object here112 113 113 114 return NULL; … … 133 134 { 134 135 this->playable = dynamic_cast<Playable*>(*it); 136 //TODO when OM_PLAYERS is ticked add line: 137 //this->playable->toList( OM_PLAYERS ); 135 138 break; 136 139 } … … 138 141 139 142 if ( this->playable && userId == getHostID() ) 143 { 140 144 State::getPlayer()->setPlayable( this->playable ); 145 } 141 146 142 147 this->playableUniqueId = uniqueId;
Note: See TracChangeset
for help on using the changeset viewer.