const fix

This commit is contained in:
Glenn Maynard
2004-01-25 02:27:41 +00:00
parent 3346785a20
commit 3de8b33668
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
#include "InputMapper.h"
#include "PrefsManager.h"
GameButton GameDef::ButtonNameToIndex( const CString &sButtonName )
GameButton GameDef::ButtonNameToIndex( const CString &sButtonName ) const
{
for( int i=0; i<m_iButtonsPerController; i++ )
if( stricmp(m_szButtonNames[i], sButtonName) == 0 )
+1 -1
View File
@@ -54,7 +54,7 @@ public:
GameButton m_SecondaryMenuButton[NUM_MENU_BUTTONS];
int m_iDefaultKeyboardKey[MAX_GAME_CONTROLLERS][MAX_GAME_BUTTONS]; // default keyboard keys only have an effect the current game is this game
GameButton ButtonNameToIndex( const CString &sButtonName );
GameButton ButtonNameToIndex( const CString &sButtonName ) const;
MenuInput GameInputToMenuInput( GameInput GameI ) const;
void MenuInputToGameInput( MenuInput MenuI, GameInput GameIout[4] ) const;
};