This commit is contained in:
parent
62165fff5c
commit
2dfc0db9c4
5 changed files with 21 additions and 2 deletions
|
@ -637,6 +637,7 @@ m_animFrame=0;
|
|||
m_currentPlayerModeClass=NULL;
|
||||
m_lastModeBeforeDeath=PLAYER_MODE_FULLUNARMED; // Player will then respawn into this mode
|
||||
m_lives++;respawn();
|
||||
m_canExitLevel=false;
|
||||
|
||||
m_lives=CGameSlotManager::getSlotData()->m_lives;
|
||||
|
||||
|
|
|
@ -273,6 +273,8 @@ public:
|
|||
void takeDamage(DAMAGE_TYPE _damage,REACT_DIRECTION _reactDirection=REACT__UP,CThing *_thing=NULL);
|
||||
|
||||
void respawn();
|
||||
void setCanExitLevelNow() {m_canExitLevel=true;}
|
||||
int getCanExitLevelNow() {return m_canExitLevel;}
|
||||
|
||||
int getLivesLeft() {return m_lives;}
|
||||
|
||||
|
@ -355,6 +357,7 @@ private:
|
|||
CameraBox m_cameraPosLimitBox;
|
||||
CameraBox m_playerPosLimitBox;
|
||||
DVECTOR m_respawnPos;
|
||||
int m_canExitLevel;
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue