summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-14 16:30:44 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-14 16:30:44 +0000
commit8381ec4111505692a9058db37412adb872bedd3e (patch)
treeafabb776a5f3b6696e021266c8fa1023c1b71fcb /src/being.cpp
parente7d91341bc0ee21f4b31fefb77c34b14c13c618d (diff)
downloadmana-client-8381ec4111505692a9058db37412adb872bedd3e.tar.gz
mana-client-8381ec4111505692a9058db37412adb872bedd3e.tar.bz2
mana-client-8381ec4111505692a9058db37412adb872bedd3e.tar.xz
mana-client-8381ec4111505692a9058db37412adb872bedd3e.zip
Hide mouse when the application doesn't have mouse focus.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 204065a5..c63c2bb2 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -279,14 +279,8 @@ void Being::nextStep()
y = newY;
action = WALK;
walk_time += speed / 10;
- if (this == player_node) {
- walk_status = 1;
- }
} else {
action = STAND;
- if (this == player_node) {
- walk_status = 0;
- }
}
frame = 0;
}