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/being.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/being.cpp')
-rw-r--r-- | src/being.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/being.cpp b/src/being.cpp index c3add140..f49e7145 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -211,6 +211,9 @@ void Being::nextStep() y = path->y; } else { action = STAND; + if (this == player_node) { + walk_status = 0; + } } frame = 0; walk_time = tick_time; |