Ticket #23965: patch-main.c
File patch-main.c, 480 bytes (added by danmichaelo@…, 15 years ago) |
---|
Line | |
---|---|
1 | --- main.orig.c 2010-03-07 16:31:28.000000000 +0100 |
2 | +++ main.c 2010-03-07 16:31:37.000000000 +0100 |
3 | @@ -836,6 +836,7 @@ |
4 | if(gameOver) { |
5 | while(W_EventsPending()) { |
6 | W_NextEvent(&wev); |
7 | + if (wev.key >= 256) wev.key -= 256; |
8 | |
9 | if(gameOver) |
10 | mouseControl = 1; |
11 | @@ -922,6 +923,7 @@ |
12 | |
13 | while(W_EventsPending()) { |
14 | W_NextEvent(&wev); |
15 | + if (wev.key >= 256) wev.key -= 256; |
16 | |
17 | switch(wev.type) { |
18 | case W_EV_KEY_OFF: |