summaryrefslogtreecommitdiff
path: root/hdaps-tux.c
diff options
context:
space:
mode:
Diffstat (limited to 'hdaps-tux.c')
-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;
}
de1a16ca53cb193afc9313'>try to get rid of races in hostfs open()Al Viro1-0/+1 2010-08-09hostfs: get rid of file_type(), fold init_inode()Al Viro1-1/+0 2010-08-09switch stat_file() to passing a single struct rather than fsckloads of pointersAl Viro1-5/+15