This commit is contained in:
Charles 2001-08-09 18:45:11 +00:00
parent 5f74add34e
commit 22e8a6845f
2 changed files with 6 additions and 1 deletions

View file

@ -279,6 +279,11 @@ void CNpcGhostTrainPlatform::processMovement( int _frames )
{
m_playerAttached = false;
m_falling = true;
CPlayer *player = GameScene.getPlayer();
if ( player->getMode() != PLAYER_MODE_DEAD )
{
player->dieYouPorousFreak();
}
break;
}

View file

@ -360,6 +360,7 @@ private:
public:
DEATH_TYPE getDeathType() {return m_deathType;}
void dieYouPorousFreak(DEATH_TYPE _deathType=DEATHTYPE__NORMAL);
private:
int m_numSpatulasHeld;
@ -368,7 +369,6 @@ private:
int m_helmetSoundTimer; // Timer for breathing sound when using the helmet
void dieYouPorousFreak(DEATH_TYPE _deathType=DEATHTYPE__NORMAL);
DEATH_TYPE m_deathType;