InputScheme

This commit is contained in:
Glenn Maynard
2006-09-30 08:24:05 +00:00
parent b6c3ea14d7
commit 3f315b0464
7 changed files with 26 additions and 28 deletions
@@ -1,8 +1,7 @@
#include "global.h"
#include "LightsDriver_SystemMessage.h"
#include "ScreenManager.h"
#include "GameState.h"
#include "Game.h"
#include "InputMapper.h"
#include "PrefsManager.h"
@@ -30,7 +29,7 @@ void LightsDriver_SystemMessage::Set( const LightsState *ls )
}
s += "\n";
int iNumGameButtonsToShow = GAMESTATE->m_pCurGame->GetNumGameplayButtons();
int iNumGameButtonsToShow = INPUTMAPPER->GetInputScheme()->GetNumGameplayButtons();
FOREACH_GameController( gc )
{