Fix crash on controller 2 input setting
This commit is contained in:
parent
fa1beeac29
commit
0dae41c603
|
@ -35,6 +35,9 @@ static char THIS_FILE[] = __FILE__;
|
||||||
|
|
||||||
int TempReadFirst(KeyList &Key)
|
int TempReadFirst(KeyList &Key)
|
||||||
{
|
{
|
||||||
|
if (Key.IsEmpty())
|
||||||
|
return 0;
|
||||||
|
|
||||||
return Key.GetHead();
|
return Key.GetHead();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue