X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_in.c;h=52a767741345c520baa7d5078b7df8e68f075124;hb=3401a0bddcdce075f8cda8b6392c541050fd36e2;hp=062e3beef1dba3a4f18bd09bec4f8f5161de9da6;hpb=0004dc99fabef783aacb99f55e315d2df0d44e9d;p=16.git diff --git a/src/lib/16_in.c b/src/lib/16_in.c index 062e3bee..52a76774 100755 --- a/src/lib/16_in.c +++ b/src/lib/16_in.c @@ -919,16 +919,13 @@ register KeyboardDef *def; // player[pn].info.dir = DirTable[((my + 1) * 3) + (mx + 1)]; conpee=(((my + 1) * 2) + (mx + 1))-1; //if(conpee) conpee--; player[pn].info.dir = DirTable[conpee]; + + //TODO: overwriting direction must be added if(DIRECTIONIFELSEGFXTEST && player[pn].d != player[pn].info.dir) player[pn].pdir=DirTable[conpee]; if(player[pn].q==1 && (mx!=motion_None || my!=motion_None)) { player[pn].d = player[pn].info.dir; - //printf("q =%d ", player[pn].q); - //if(testcontrolnoisy > 0) - //if(testcontrolnoisy > 0) - //printf("cpee=%d ", conpee); } - if(testcontrolnoisy > 0) #if DEMO0 if (DemoMode == demo_Record)