- Timestamp:
- Feb 7, 2006, 4:18:20 PM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/multiplayer_team_deathmatch.cc
r7044 r7079 125 125 { 126 126 this->timeout += dt; 127 127 PRINTF(0)("TICK DEATH\n"); 128 128 // long enough dead? 129 129 if( this->timeout >= this->deathTimeout) … … 131 131 this->timeout = 0.0f; 132 132 // respawn 133 PRINTF(0)("RESPAWN\n"); 133 134 (State::getPlayer())->getPlayable()->respawn(); 134 135 } -
trunk/src/world_entities/playable.cc
r7078 r7079 167 167 168 168 169 this->toList(OM_DEAD );169 this->toList(OM_DEAD_TICK); 170 170 //HACK: moves the entity to an unknown place far far away: in the future, GameRules will look for that 171 171 this->setAbsCoor(-2000.0, -2000.0, -2000.0); … … 173 173 //explosion hack 174 174 this->emitter->setSystem(explosionParticles); 175 this->setAbsCoor(0, 0, 0);176 175 this->emitter->setSystem(NULL); 177 176 }
Note: See TracChangeset
for help on using the changeset viewer.