This commit is contained in:
parent
5f74add34e
commit
22e8a6845f
2 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue