summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@xenon.tklauser.home>2006-07-08 16:17:44 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2006-07-08 16:17:44 +0200
commitb75199e28ff322c910a3ce845d23614ae72de026 (patch)
treeb8f5add0046821a896e4a99c69d0c0c4eec32a39
parent44df4d04ca067dd1a01db2eef3b092d3bbf729cc (diff)
Revert previous commit
-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;
}