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

inputest.exe
src/lib/16_in.c

index acc2e25dd553b32423e2b57d97ad6dd20c1a30ee..8773cbb7223f25c0d75b677e185e4f8e7ba2aa1e 100644 (file)
Binary files a/inputest.exe and b/inputest.exe differ
index 2878be77c71f4c15d9eb6c645f1b4c26a7432bef..558ef7f3cac8b88ba592cd01daaf5dbd977e496e 100644 (file)
@@ -936,7 +936,7 @@ register    KeyboardDef     *def;
        }\r
 #endif\r
 #ifdef TESTCONTROLNOISY
-if(inpu.Keyboard[def->up] || inpu.Keyboard[def->down] || inpu.Keyboard[def->left] || inpu.Keyboard[def->right])
+if((inpu.Keyboard[def->up] || inpu.Keyboard[def->down] || inpu.Keyboard[def->left] || inpu.Keyboard[def->right])&& player[playnum].info.dir!=2)
 {
        printf("(mx)=%d ", mx);
        printf("(my)=%d ", my);