This commit is contained in:
Paul 2001-05-11 21:35:08 +00:00
parent c48fce126a
commit 1cf2f4ef81
6 changed files with 55 additions and 6 deletions

View file

@ -549,7 +549,7 @@ void CPlayer::init()
m_animNo=0;
m_animFrame=0;
setFacing(FACING_RIGHT);
respawn();
m_lives++;respawn();
m_lives=CGameSlotManager::getSlotData()->m_lives;
@ -910,6 +910,7 @@ void CPlayer::render()
CPlayerThing::render();
#ifdef __E3__
#ifdef _STATE_DEBUG_
char buf[100];
#ifdef __USER_paul__
@ -919,6 +920,7 @@ sprintf(buf,"Pos: %04d,%04d",Pos.vx,Pos.vy);
#endif
m_fontBank->print(stateDebugX,stateDebugY,buf);
#endif
#endif
#ifdef __USER_paul__
@ -1420,6 +1422,8 @@ void CPlayer::respawn()
clearPlatform();
updateCollisionArea();
m_lives--;
}