summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/char/char.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 206dfdf..97c3cc4 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -113,6 +113,8 @@ mf_char_update(struct mf_char *c)
c->new_x = c->cur_x + dx;
c->new_y = c->cur_y + dy;
c->travel += c->speed;
+ } else {
+ stepped = SDL_TRUE;
}
}