This commit is contained in:
Glenn Maynard
2004-09-09 17:48:25 +00:00
parent 120c09a9fb
commit 09d9197e29
9 changed files with 343 additions and 343 deletions
+3 -3
View File
@@ -43,13 +43,13 @@ void ScreenTest::Input( const DeviceInput& DeviceI, const InputEventType type, c
{
if(DeviceI.device == DEVICE_KEYBOARD)
{
if(DeviceI.button >= SDLK_F9 && DeviceI.button <= SDLK_F12)
if( DeviceI.button >= KEY_F9 && DeviceI.button <= KEY_F12 )
{
if( type != IET_FIRST_PRESS ) return;
SetScreen(DeviceI.button - SDLK_F9);
SetScreen( DeviceI.button - KEY_F9 );
return;
}
if(DeviceI.button == SDLK_ESCAPE)
if( DeviceI.button == KEY_ESC )
{
if( type != IET_FIRST_PRESS ) return;
SCREENMAN->SetNewScreen( "ScreenTitleMenu" );