]> 4ch.mooo.com Git - 16.git/commitdiff
updated copyright www
authorsparky4 <sparky4@cock.li>
Tue, 22 Mar 2016 20:11:50 +0000 (15:11 -0500)
committersparky4 <sparky4@cock.li>
Tue, 22 Mar 2016 20:11:50 +0000 (15:11 -0500)
src/lib/16_in.c

index 7f467cce073ab6425d015ca18446d59700bcb24c..c9c70a69d4c810d8ce69d557ec16dfeadf238b52 100755 (executable)
@@ -867,9 +867,8 @@ register    KeyboardDef     *def;
                                        mx = motion_Left;\r
                                if((inpu.Keyboard[def->right] && !inpu.Keyboard[def->left]))// || player[pn].pdir != 1)\r
                                        mx = motion_Right;\r
-\r
                        //}else\r
-                               if(mx+my>1<mx+my)\r
+                               if(mx+my>1<mx+my && mx+my>-1<mx+my)\r
                                {       //2 keys pressed\r
                                        switch (player[pn].pdir)\r
                                        {\r