From d1e12fd1b7d5411aa77d3fcf2b69d32be208a028 Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 11 Jan 2001 15:51:31 +0000 Subject: [PATCH] --- source/game/gameslot.cpp | 2 ++ source/game/gameslot.h | 1 + 2 files changed, 3 insertions(+) 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;