From d36da56b270c848eed374c962accfb3561973812 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Tue, 17 Aug 2004 06:05:08 +0000 Subject: [PATCH] fix "card considered too late if inserted during attract" --- stepmania/src/MemoryCardManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/MemoryCardManager.cpp b/stepmania/src/MemoryCardManager.cpp index 2e1ce7d085..0c693be0d2 100644 --- a/stepmania/src/MemoryCardManager.cpp +++ b/stepmania/src/MemoryCardManager.cpp @@ -8,6 +8,7 @@ #include "ScreenManager.h" #include "ProfileManager.h" #include "Foreach.h" +#include "GameState.h" MemoryCardManager* MEMCARDMAN = NULL; // global and accessable from anywhere in our program @@ -180,7 +181,7 @@ void MemoryCardManager::Update( float fDelta ) assigned_device = *d; // save a copy vUnassignedDevices.erase( d ); // remove the device so we don't match it for another player - m_bTooLate[p] = m_bCardsLocked; // the device is too late if inserted when cards were locked + m_bTooLate[p] = GAMESTATE->m_bPlayersFinalized; // the device is too late if inserted when cards were locked // play sound if( m_bTooLate[p] )