summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hdaps-tux.c6
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;
}