diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-10 23:17:38 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-10 23:17:38 +0000 |
commit | dbd66d7d64361e76e3e366d919001a5b7ecd77c9 (patch) | |
tree | fa3c29fa5ffc8a978b64ddc385cd283ae4c9906e /src/being.cpp | |
parent | 627d4d27d594fb7356c3d4e9f4cb45eff77c1e48 (diff) | |
download | mana-dbd66d7d64361e76e3e366d919001a5b7ecd77c9.tar.gz mana-dbd66d7d64361e76e3e366d919001a5b7ecd77c9.tar.bz2 mana-dbd66d7d64361e76e3e366d919001a5b7ecd77c9.tar.xz mana-dbd66d7d64361e76e3e366d919001a5b7ecd77c9.zip |
Experimental mouse walk command and fixed one instability issue.
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp index 8de5125c..c3add140 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -183,7 +183,7 @@ bool Being::hasPath() void Being::nextStep() { - if (path->next) { + if (path && path->next) { int old_x, old_y, new_x, new_y; old_x = path->x; old_y = path->y; |