summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index ecf75750..8ba4e7ea 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -379,11 +379,7 @@ void Engine::draw()
(get_elapsed_time(being->walk_time) * 4) / (being->speed);
if (being->frame >= 4) {
- being->frame = 0;
- being->action = STAND;
- if (being->id == player_node->id) {
- walk_status = 0;
- }
+ being->nextStep();
}
}
}