X-Git-Url: http://4ch.mooo.com/gitweb/?p=16.git;a=blobdiff_plain;f=src%2Flib%2F16_in.c;h=0ac77f15d5cb49a06d6ce0a0e6bdf27cde49666c;hp=bdd3d0fe47554db0db169cbe3b761b4f2fec9e96;hb=5c3da8981be76348ea34711b6297c0d2d3ed19ab;hpb=ce1c7884eb2b6e2e3b468a7f661abd2962a15122 diff --git a/src/lib/16_in.c b/src/lib/16_in.c index bdd3d0fe..0ac77f15 100755 --- a/src/lib/16_in.c +++ b/src/lib/16_in.c @@ -377,9 +377,9 @@ done: void INL_GetJoyDelta(word joy,int *dx,int *dy/*,boolean adaptive*/, global_game_variables_t *gvar) { word x,y; - word TimeCount = *clockw; +//00 word TimeCount = *clockw; JoystickDef *def; -static word lasttime; +//00static word lasttime; IN_GetJoyAbs(joy,&x,&y); def = gvar->in.JoyDefs + joy; @@ -440,7 +440,7 @@ static word lasttime; // *dy *= time; // } // } - lasttime = TimeCount; +//00 lasttime = TimeCount; } /////////////////////////////////////////////////////////////////////////// @@ -470,15 +470,15 @@ register word result; word IN_GetJoyButtonsDB(word joy) { - word TimeCount = *clockw; - word lasttime; +//00 word TimeCount = *clockw; +//00 word lasttime; word result1,result2; do { result1 = INL_GetJoyButtons(joy); - lasttime = TimeCount; - while(TimeCount == lasttime) +//00 lasttime = TimeCount; +//00 while(TimeCount == lasttime) //; result2 = INL_GetJoyButtons(joy); } while(result1 != result2);