- Timestamp:
- Feb 8, 2006, 10:36:14 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/playable.cc
r7119 r7121 33 33 #include "sprite_particles.h" 34 34 35 #include "shared_network_data.h" 36 35 37 #include "effects/explosion.h" 36 38 … … 124 126 collider = entity; 125 127 126 if ( entity->isA(CL_PROJECTILE))128 if ( entity->isA(CL_PROJECTILE) && ( !State::isOnline() || SharedNetworkData::getInstance()->isGameServer() ) ) 127 129 { 128 130 this->decreaseHealth(entity->getHealth() *(float)rand()/(float)RAND_MAX);
Note: See TracChangeset
for help on using the changeset viewer.