diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-10 23:36:38 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-10 23:36:38 +0000 |
commit | 95683b8ecea0b12342b259e501e7eed8b5c40ee6 (patch) | |
tree | 4ffb745956f8911de066ffa4b88b5265b10ee845 /src/engine.cpp | |
parent | dbd66d7d64361e76e3e366d919001a5b7ecd77c9 (diff) | |
download | mana-95683b8ecea0b12342b259e501e7eed8b5c40ee6.tar.gz mana-95683b8ecea0b12342b259e501e7eed8b5c40ee6.tar.bz2 mana-95683b8ecea0b12342b259e501e7eed8b5c40ee6.tar.xz mana-95683b8ecea0b12342b259e501e7eed8b5c40ee6.zip |
This should make mouse walking work.
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 6 |
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(); } } } |