From: sparky4 Date: Mon, 29 Jun 2015 14:43:02 +0000 (-0500) Subject: modified: 16.LIB X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=002399da0252dad56f351d48868078cebbadd207;p=16.git modified: 16.LIB modified: inputest.exe modified: src/lib/16_in.c --- diff --git a/16.LIB b/16.LIB index 704640bc..d42b6adb 100644 Binary files a/16.LIB and b/16.LIB differ diff --git a/inputest.exe b/inputest.exe index ce5ad4a2..04bbe221 100644 Binary files a/inputest.exe and b/inputest.exe differ diff --git a/src/lib/16_in.c b/src/lib/16_in.c index b27c1ccf..f869464c 100644 --- a/src/lib/16_in.c +++ b/src/lib/16_in.c @@ -846,11 +846,13 @@ register KeyboardDef *def; else if (Keyboard[def->downright]) mx = motion_Right,my = motion_Down;*/ + if(!inpu.Keyboard[def->left] && !inpu.Keyboard[def->right]){ if (inpu.Keyboard[def->up]) my = motion_Up; else if (inpu.Keyboard[def->down]) my = motion_Down; + }else//if(!inpu.Keyboard[def->up] && !inpu.Keyboard[def->down]) if (inpu.Keyboard[def->left]) mx = motion_Left; else if (inpu.Keyboard[def->right])