From d51010ff7b9d99376b6c9e208acd764f65d42e3d Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sun, 25 Jul 2004 18:49:16 +0000 Subject: [PATCH] fix compile error --- stepmania/src/arch/Lights/LightsDriver_SystemMessage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/arch/Lights/LightsDriver_SystemMessage.cpp b/stepmania/src/arch/Lights/LightsDriver_SystemMessage.cpp index 823d4bc1c0..b5b8ad8a11 100644 --- a/stepmania/src/arch/Lights/LightsDriver_SystemMessage.cpp +++ b/stepmania/src/arch/Lights/LightsDriver_SystemMessage.cpp @@ -26,7 +26,7 @@ void LightsDriver_SystemMessage::Set( const LightsState *ls ) } s += "\n"; - int iNumGameButtonsToShow = GAMESTATE->GetCurrentGameDef()->GetNumGameplayButtons(); + int iNumGameButtonsToShow = GAMESTATE->m_pCurGame->GetNumGameplayButtons(); FOREACH_GameController( gc ) {