Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7079 in orxonox.OLD


Ignore:
Timestamp:
Feb 7, 2006, 4:18:20 PM (18 years ago)
Author:
patrick
Message:

trunk: minor game rules change

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/multiplayer_team_deathmatch.cc

    r7044 r7079  
    125125  {
    126126    this->timeout += dt;
    127 
     127    PRINTF(0)("TICK DEATH\n");
    128128    // long enough dead?
    129129    if( this->timeout >= this->deathTimeout)
     
    131131      this->timeout = 0.0f;
    132132      // respawn
     133      PRINTF(0)("RESPAWN\n");
    133134      (State::getPlayer())->getPlayable()->respawn();
    134135    }
  • trunk/src/world_entities/playable.cc

    r7078 r7079  
    167167
    168168
    169     this->toList(OM_DEAD);
     169    this->toList(OM_DEAD_TICK);
    170170  //HACK: moves the entity to an unknown place far far away: in the future, GameRules will look for that
    171171    this->setAbsCoor(-2000.0, -2000.0, -2000.0);
     
    173173  //explosion hack
    174174    this->emitter->setSystem(explosionParticles);
    175     this->setAbsCoor(0, 0, 0);
    176175    this->emitter->setSystem(NULL);
    177176  }
Note: See TracChangeset for help on using the changeset viewer.