Changeset 9470 in orxonox.OLD for branches/proxy/src/world_entities/space_ships
- Timestamp:
- Jul 25, 2006, 10:23:17 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/world_entities/space_ships/space_ship.cc
r9452 r9470 310 310 void SpaceShip::collidesWith(WorldEntity* entity, const Vector& location) 311 311 { 312 Playable::collidesWith(entity, location); 313 314 if( entity->isA(CL_PROJECTILE) && entity != ref) 315 { 316 if ( SharedNetworkData::getInstance()->isMasterServer() || SharedNetworkData::getInstance()->isProxyServerActive()) 317 { 318 //TODO handle this 319 } 320 } 321 PRINTF(3)("collision %s vs %s @ (%f,%f,%f)\n", this->getClassCName(), entity->getClassCName(), location.x, location.y, location.z); 312 322 313 } 323 314
Note: See TracChangeset
for help on using the changeset viewer.