1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/games/xgalaga/files/patch-ae
Guido Falsi 157deba61d Update to 2.1.1.0.
PR:		ports/167227
Approved by:	crees (mentor)
2012-05-13 15:41:23 +00:00

19 lines
482 B
Plaintext

--- main.c.orig 2008-03-06 06:58:16.000000000 +0900
+++ main.c 2012-04-23 14:26:03.000000000 +0900
@@ -836,6 +836,7 @@
if(gameOver) {
while(W_EventsPending()) {
W_NextEvent(&wev);
+ if (wev.key >= 256) wev.key -= 256;
if(gameOver)
mouseControl = 1;
@@ -922,6 +923,7 @@
while(W_EventsPending()) {
W_NextEvent(&wev);
+ if (wev.key >= 256) wev.key -= 256;
switch(wev.type) {
case W_EV_KEY_OFF: