This commit is contained in:
parent
70a9ad28d5
commit
d34487762e
@ -93,7 +93,7 @@ void CPlayerModeDead::think()
|
|||||||
|
|
||||||
m_player->moveVertical(5);
|
m_player->moveVertical(5);
|
||||||
|
|
||||||
if((m_deadTime>DEATH_DELAY&&m_player->getPadInputDown()&PI_FIRE)||
|
if((m_deadTime>DEATH_DELAY&&m_player->getPadInputDown()&(PI_JUMP|PI_FIRE))||
|
||||||
m_deadTime>DEATH_TIMEOUT)
|
m_deadTime>DEATH_TIMEOUT)
|
||||||
{
|
{
|
||||||
CGameScene::restartlevel();
|
CGameScene::restartlevel();
|
||||||
|
Loading…
Reference in New Issue
Block a user