This commit is contained in:
parent
e67eb9cb21
commit
d3d2e4bb39
3 changed files with 17 additions and 10 deletions
|
@ -17,6 +17,10 @@
|
|||
|
||||
#include "player\pmdead.h"
|
||||
|
||||
#ifndef __GAME_GAME_H__
|
||||
#include "game\game.h"
|
||||
#endif
|
||||
|
||||
|
||||
/* Std Lib
|
||||
------- */
|
||||
|
@ -76,7 +80,7 @@ m_player->moveVertical(5);
|
|||
if((m_deadTime>DEATH_DELAY&&m_player->getPadInputDown()&PI_FIRE)||
|
||||
m_deadTime>DEATH_TIMEOUT)
|
||||
{
|
||||
respawn();
|
||||
CGameScene::restartlevel();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue