Changeset 9231 in orxonox.OLD for branches/presentation/src
- Timestamp:
- Jul 5, 2006, 2:21:40 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/spawning_point.cc
r9228 r9231 158 158 this->spawn(it->entity); 159 159 160 if ( SharedNetworkData::getInstance()->isGameServer() ) 160 const std::list<BaseObject*> * list = ClassList::getList( CL_PLAYABLE ); 161 162 bool found = false; 163 164 if ( !list ) 165 return; 166 167 for ( std::list<BaseObject*>::const_iterator it2 = list->begin(); it2 != list->end(); it2++ ) 168 { 169 if ( *it2 == it->entity ) 170 { 171 found = true; 172 break; 173 } 174 } 175 176 if ( found && SharedNetworkData::getInstance()->isGameServer() ) 161 177 this->sendRespawnMessage( it->entity->getUniqueID() ); 162 178
Note: See TracChangeset
for help on using the changeset viewer.