This commit is contained in:
Glenn Maynard
2005-09-12 02:05:46 +00:00
parent b452163c3a
commit 95a926a611
+1 -1
View File
@@ -99,7 +99,7 @@ void ScreenPrompt::Input( const InputEventPlus &input )
if( input.DeviceI.device==DEVICE_KEYBOARD && input.type==IET_FIRST_PRESS )
{
PlayerNumber pn;
if ( GAMESTATE->GetCurrentStyle() == NULL )
if( GAMESTATE->GetCurrentStyle() == NULL )
pn = (PlayerNumber)input.GameI.controller;
else
pn = GAMESTATE->GetCurrentStyle()->ControllerToPlayerNumber( input.GameI.controller );