- Timestamp:
- Jul 4, 2006, 2:44:44 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/spawning_point.cc
r9008 r9133 57 57 58 58 MessageManager::getInstance()->registerMessageHandler( MSGID_RESPAWN, respawnMessageHandler, NULL ); 59 60 this->setSynchronized( true ); 59 61 } 60 62 … … 194 196 assert( Converter::byteArrayToInt( data+INTSIZE, &uniqueId ) == INTSIZE ); 195 197 198 PRINTF(0)("SPAWNMESSAGE %d\n", uniqueId); 199 196 200 SpawningPoint * sp = NULL; 197 201 Playable * playable = NULL; … … 203 207 for ( std::list<BaseObject*>::const_iterator it = list->begin(); it != list->end(); it++ ) 204 208 { 205 if ( dynamic_cast<SpawningPoint*>(*it)->getUniqueID() == uniqueId ) 209 PRINTF(0)("%d:%d\n", dynamic_cast<SpawningPoint*>(*it)->getUniqueID(), spUniqueId); 210 if ( dynamic_cast<SpawningPoint*>(*it)->getUniqueID() == spUniqueId ) 206 211 { 207 212 sp = dynamic_cast<SpawningPoint*>(*it); … … 213 218 if ( !sp ) 214 219 { 215 PRINTF( 2)("could not find spawning point\n");220 PRINTF(0)("could not find spawning point\n"); 216 221 return false; 217 222 } … … 233 238 if ( !playable ) 234 239 { 235 PRINTF( 2)("could not find playable\n");240 PRINTF(0)("could not find playable\n"); 236 241 return false; 237 242 }
Note: See TracChangeset
for help on using the changeset viewer.