GameButton_Invalid

This commit is contained in:
Glenn Maynard
2006-09-27 04:44:15 +00:00
parent 6e6ea7971d
commit 7d2a424626
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ bool CodeItem::Load( RString sButtonsNames )
// Search for the corresponding GameButton
const GameButton gb = pGame->ButtonNameToIndex( sButtonName );
if( gb == GAME_BUTTON_INVALID )
if( gb == GameButton_Invalid )
{
LOG->Trace( "The code '%s' contains an unrecognized button '%s'.", sButtonsNames.c_str(), sButtonName.c_str() );
buttons.clear();