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:
theoddone33
2002-03-05 02:19:52 +00:00
parent 56554c393c
commit eee9df6f7e
2 changed files with 2 additions and 3 deletions

View File

@@ -722,12 +722,11 @@ NEWSYM InitPreGame ; Executes before starting/continuing a game
pushad pushad
call clearwin call clearwin
popad popad
mov byte[pressed+1],0
ret ret
NEWSYM SetupPreGame ; Executes after pre-game init, can execute multiple NEWSYM SetupPreGame ; Executes after pre-game init, can execute multiple
; times after a single InitPreGame ; times after a single InitPreGame
;mov byte[pressed+1],2 mov byte[pressed+1],2
ret ret

View File

@@ -154,7 +154,7 @@ int Main_Proc(void)
numlockptr = 0; numlockptr = 0;
if (event.key.keysym.scancode - 8 >= 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; pressed[event.key.keysym.scancode - 8] = 1;
ProcessKeyBuf(event.key.keysym.sym); ProcessKeyBuf(event.key.keysym.sym);
} }