This commit is contained in:
Paul 2001-01-11 15:51:31 +00:00
parent 6df87b5b86
commit d1e12fd1b7
2 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,7 @@ void CGameSlotManager::setActiveSlot(unsigned int _slot)
{ {
ASSERT(_slot<=NUM_GAME_SLOTS); ASSERT(_slot<=NUM_GAME_SLOTS);
s_currentGameSlot=&s_gameSlots[_slot]; s_currentGameSlot=&s_gameSlots[_slot];
s_currentGameSlot->m_isInUse=true;
} }
@ -121,6 +122,7 @@ void CGameSlotManager::eraseGameSlot(unsigned int _slot)
slot=&s_gameSlots[_slot]; slot=&s_gameSlots[_slot];
slot->m_isInUse=false;
slot->m_lives=INITIAL_LIVES; slot->m_lives=INITIAL_LIVES;
slot->m_continues=INITIAL_CONTINUES; slot->m_continues=INITIAL_CONTINUES;
slot->m_maxLevelCompleted=0; slot->m_maxLevelCompleted=0;

View File

@ -42,6 +42,7 @@ public:
typedef struct typedef struct
{ {
int m_isInUse;
int m_lives; int m_lives;
int m_continues; int m_continues;
int m_maxLevelCompleted; int m_maxLevelCompleted;