]> 4ch.mooo.com Git - 16.git/commitdiff
pdir
authorsparky4 <sparky4@cock.li>
Sun, 13 Mar 2016 04:56:37 +0000 (22:56 -0600)
committersparky4 <sparky4@cock.li>
Sun, 13 Mar 2016 04:56:37 +0000 (22:56 -0600)
src/lib/16_in.c

index 5e03e2f229a42a253311363bc6256cac425b75bc..f93fad3943f37da70263296aec483abef75e5e64 100755 (executable)
@@ -919,7 +919,7 @@ register    KeyboardDef     *def;
        player[pn].info.dir = DirTable[conpee];\r
 \r
        //TODO: overwriting direction must be added\r
-       if(player[pn].d==2) player[pn].pdir=DirTable[conpee];\r
+       if(DIRECTIONIFELSEGFXTEST) player[pn].pdir=DirTable[conpee];\r
        if(player[pn].q==1 && (mx!=motion_None || my!=motion_None))\r
        {\r
                player[pn].d = player[pn].info.dir;\r