Fix crash on controller 2 input setting

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@9 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
DJRobX 2007-10-31 10:32:01 +00:00
parent 9393ab7212
commit a478e57898
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();
}