]> 4ch.mooo.com Git - 16.git/commitdiff
added non diagnal stuff
authorsparky4 <sparky4@cock.li>
Sun, 12 Jul 2015 21:42:11 +0000 (16:42 -0500)
committersparky4 <sparky4@cock.li>
Sun, 12 Jul 2015 21:42:11 +0000 (16:42 -0500)
modified:   inputest.exe
modified:   src/lib/16_in.c

inputest.exe
src/lib/16_in.c

index c4bee5ef412d5773a0c047068f53b894a10b7ab4..cf2dda4e34b556eb8435b74ee182f69a8a0d9145 100644 (file)
Binary files a/inputest.exe and b/inputest.exe differ
index 1ee3bc943a9439b197360eb13de028fcb1be9eb6..6b1addd7898bb832969faa27c781cd7cf8db2f10 100644 (file)
@@ -850,19 +850,19 @@ register  KeyboardDef     *def;
                        else if (Keyboard[def->downright])\r
                                mx = motion_Right,my = motion_Down;*/\r
 \r
-                       //if(!inpu.Keyboard[def->left] && !inpu.Keyboard[def->right]){
+                       if(!inpu.Keyboard[def->left] && !inpu.Keyboard[def->right]){
                        \r
                        if((inpu.Keyboard[def->up] && player[playnum].info.dir == 2))// || player[playnum].info.dir == 0)\r
                                my = motion_Up;\r
                        else if((inpu.Keyboard[def->down] && player[playnum].info.dir == 2))// || player[playnum].info.dir == 4)\r
                                my = motion_Down;\r
 \r
-                       //}else if(!inpu.Keyboard[def->up] && !inpu.Keyboard[def->down]){\r
+                       }else if(!inpu.Keyboard[def->up] && !inpu.Keyboard[def->down]){\r
                        if((inpu.Keyboard[def->left] && player[playnum].info.dir == 2))// || player[playnum].info.dir == 1)\r
                                mx = motion_Left;\r
                        else if((inpu.Keyboard[def->right] && player[playnum].info.dir == 2))// || player[playnum].info.dir == 3)\r
                                mx = motion_Right;\r
-                       //}\r
+                       }\r
                        if (inpu.Keyboard[def->button0])\r
                                buttons += 1 << 0;\r
                        if (inpu.Keyboard[def->button1])\r