Changeset 9406 in orxonox.OLD for trunk/src/world_entities/space_ships/space_ship.cc
- Timestamp:
- Jul 24, 2006, 11:09:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/space_ship.cc
r9235 r9406 52 52 53 53 54 using namespace std; 54 55 55 56 56 CREATE_FACTORY(SpaceShip, CL_SPACE_SHIP); … … 314 314 if( entity->isA(CL_PROJECTILE) && entity != ref) 315 315 { 316 if ( isServer())316 if ( SharedNetworkData::getInstance()->isMasterServer() || SharedNetworkData::getInstance()->isProxyServer()) 317 317 { 318 318 //TODO handle this 319 319 } 320 320 } 321 PRINTF(3)("collision %s vs %s @ (%f,%f,%f)\n", this->getClass Name(), entity->getClassName(), location.x, location.y, location.z);321 PRINTF(3)("collision %s vs %s @ (%f,%f,%f)\n", this->getClassCName(), entity->getClassCName(), location.x, location.y, location.z); 322 322 } 323 323
Note: See TracChangeset
for help on using the changeset viewer.