This commit is contained in:
Paul 2001-08-14 18:36:21 +00:00
parent 3b0ccb833a
commit c09067ea74
2 changed files with 6 additions and 3 deletions

View file

@ -124,7 +124,10 @@ void CPlayerModeDead::think()
m_player->setAnimFrame(frame);
}
if(m_player->getPos().vy<(GameScene.GetLevel().getMapSize().vy+4)*16)
{
m_player->moveVertical(5);
}
if(!m_killed)
{

View file

@ -45,8 +45,8 @@ private:
// Player can press ACTION to respawn after death
enum
{
DEATH_DELAY=2*60, // Can't force a respawn for this long
DEATH_TIMEOUT=5*60, // SB respawns automatically after this long
DEATH_DELAY=1*60, // Can't force a respawn for this long
DEATH_TIMEOUT=4*60, // SB respawns automatically after this long
};
int m_deadTime;
int m_deathAnim;