diff options
author | Tobias Klauser <tklauser@xenon.tklauser.home> | 2006-07-08 16:17:44 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2006-07-08 16:17:44 +0200 |
commit | b75199e28ff322c910a3ce845d23614ae72de026 (patch) | |
tree | b8f5add0046821a896e4a99c69d0c0c4eec32a39 | |
parent | 44df4d04ca067dd1a01db2eef3b092d3bbf729cc (diff) |
Revert previous commit
-rw-r--r-- | hdaps-tux.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/hdaps-tux.c b/hdaps-tux.c index 28dac2e..1856040 100644 --- a/hdaps-tux.c +++ b/hdaps-tux.c @@ -129,10 +129,8 @@ int main(int argc, char *argv[]) dprintf("xdiff/ydiff: %d/%d\n", xdiff, ydiff); - if (abs(xdiff) > 2) - tuxX += xdiff * vel; - if (abs(ydiff) > 2) - tuxY += ydiff * vel; + tuxX += xdiff * vel; + tuxY += ydiff * vel; timeout = TIMEOUT_VAL; } |