don't pass input to Player unless human controlled

This commit is contained in:
Chris Danford
2004-01-01 04:11:18 +00:00
parent b0f277b696
commit fd3425f9d1
+1 -1
View File
@@ -1601,7 +1601,7 @@ void ScreenGameplay::Input( const DeviceInput& DeviceI, const InputEventType typ
//
if( type==IET_FIRST_PRESS &&
StyleI.IsValid() &&
GAMESTATE->IsPlayerEnabled( StyleI.player ) )
GAMESTATE->IsHumanPlayer( StyleI.player ) )
{
AbortGiveUp();