Changeset 9406 in orxonox.OLD for trunk/src/world_entities/creatures
- Timestamp:
- Jul 24, 2006, 11:09:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/creatures/fps_player.cc
r9235 r9406 276 276 // if( target != NULL) 277 277 // { 278 // PRINTF(0)("hit hit hit, got: %s\n", target->getClass Name());278 // PRINTF(0)("hit hit hit, got: %s\n", target->getClassCName()); 279 279 // } 280 280 // else … … 287 287 //dealing damage 288 288 289 if ( State::isOnline() && SharedNetworkData::getInstance()->isGameServer())289 if ( State::isOnline() && (SharedNetworkData::getInstance()->isMasterServer() || SharedNetworkData::getInstance()->isProxyServer())) 290 290 { 291 291 this->damageTicker -= time; … … 299 299 if ( victim ) 300 300 { 301 PRINTF(0)("FIRE: hit %s\n", victim->getClass Name());301 PRINTF(0)("FIRE: hit %s\n", victim->getClassCName()); 302 302 victim->hit( 20, this ); 303 303 }
Note: See TracChangeset
for help on using the changeset viewer.