diff --git a/source/game/gameslot.cpp b/source/game/gameslot.cpp index da9cce01e..391112bd3 100644 --- a/source/game/gameslot.cpp +++ b/source/game/gameslot.cpp @@ -78,6 +78,7 @@ void CGameSlotManager::setActiveSlot(unsigned int _slot) { ASSERT(_slot<=NUM_GAME_SLOTS); 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->m_isInUse=false; slot->m_lives=INITIAL_LIVES; slot->m_continues=INITIAL_CONTINUES; slot->m_maxLevelCompleted=0; diff --git a/source/game/gameslot.h b/source/game/gameslot.h index 70855bd2b..a1d4c0801 100644 --- a/source/game/gameslot.h +++ b/source/game/gameslot.h @@ -42,6 +42,7 @@ public: typedef struct { + int m_isInUse; int m_lives; int m_continues; int m_maxLevelCompleted;