Fix crash on controller 2 input setting

This commit is contained in:
DJRobX 2007-10-31 10:32:01 +00:00
parent fa1beeac29
commit 0dae41c603
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,9 @@ static char THIS_FILE[] = __FILE__;
int TempReadFirst(KeyList &Key)
{
if (Key.IsEmpty())
return 0;
return Key.GetHead();
}