Merge pull request #13 from Ugachaga/master

Fix crash with Battlegear2
This commit is contained in:
Martin Robertz authored and GitHub committed 2016-11-10 12:33:28 +01:00
commit c867c3a3a1
1 file changed
+1
@@ -107,6 +107,7 @@ public class KeyInputHandler {
if (c > 0 && c < 8) return c + i;
if (c == 0 && i < 0) return 8;
if (c == 8 && i > 0) return 0;
if (c == 150 && i < 0) return 152;
return c + i;
}
}