Ignore ominous comment in winintrf.asm because I think the windows version
ignores it too and it seems to be causing lots of problems.
This commit is contained in:
@@ -722,12 +722,11 @@ NEWSYM InitPreGame ; Executes before starting/continuing a game
|
||||
pushad
|
||||
call clearwin
|
||||
popad
|
||||
mov byte[pressed+1],0
|
||||
ret
|
||||
|
||||
NEWSYM SetupPreGame ; Executes after pre-game init, can execute multiple
|
||||
; times after a single InitPreGame
|
||||
;mov byte[pressed+1],2
|
||||
mov byte[pressed+1],2
|
||||
ret
|
||||
|
||||
|
||||
|
||||
@@ -154,7 +154,7 @@ int Main_Proc(void)
|
||||
numlockptr = 0;
|
||||
if (event.key.keysym.scancode - 8 >= 0)
|
||||
{
|
||||
if (pressed[event.key.keysym.scancode - 8] != 2)
|
||||
//if (pressed[event.key.keysym.scancode - 8] != 2)
|
||||
pressed[event.key.keysym.scancode - 8] = 1;
|
||||
ProcessKeyBuf(event.key.keysym.sym);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user