Changeset 9222 in orxonox.OLD for branches/presentation/src/world_entities
- Timestamp:
- Jul 5, 2006, 1:24:38 PM (18 years ago)
- Location:
- branches/presentation/src/world_entities
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/WorldEntities.am
r9217 r9222 7 7 world_entities/npcs/generic_npc.cc \ 8 8 world_entities/npcs/door.cc \ 9 world_entities/npcs/gate.cc \ 9 10 world_entities/npcs/repair_station.cc \ 10 11 world_entities/npcs/attractor_mine.cc \ -
branches/presentation/src/world_entities/creatures/fps_player.cc
r9221 r9222 170 170 this->damageTicker = 0.0f; 171 171 172 toList( OM_PLAYERS );172 // toList( OM_PLAYERS ); 173 173 } 174 174 … … 289 289 290 290 //dealing damage 291 291 292 292 if ( State::isOnline() && SharedNetworkData::getInstance()->isGameServer() ) 293 293 { 294 294 this->damageTicker -= time; 295 295 296 296 if ( this->damageTicker <= 0.0f && this->beFire() ) 297 297 { 298 298 this->damageTicker = 0.25; 299 299 300 300 WorldEntity * victim = aimingSystem->getNearestTarget(); 301 301 302 302 if ( victim ) 303 303 { … … 486 486 if( State::isOnline()) 487 487 toList( OM_PLAYERS ); 488 488 489 489 this->damageTicker = 0.0f; 490 490 491 491 Playable::respawn(); 492 492 }
Note: See TracChangeset
for help on using the changeset viewer.