summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-06-09 13:37:16 -0600
committerJared Adams <jaxad0127@gmail.com>2010-06-09 15:14:18 -0600
commit35e024b85a5448cba235fa400f9412fd4e289ec0 (patch)
tree58736ebdff483bf7db1398855e514a735ddf075e /src/localplayer.cpp
parentec980b3c586fc64d02ad02f31497013908056d52 (diff)
downloadmana-35e024b85a5448cba235fa400f9412fd4e289ec0.tar.gz
mana-35e024b85a5448cba235fa400f9412fd4e289ec0.tar.bz2
mana-35e024b85a5448cba235fa400f9412fd4e289ec0.tar.xz
mana-35e024b85a5448cba235fa400f9412fd4e289ec0.zip
Fix dead Beings not being removed using tmwAthena
Rename mWalkTime to mActionTime in Being and have Being manage death. Reviewed-by: 4144
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 7bf339c6..96062867 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -1010,7 +1010,7 @@ void LocalPlayer::attack(Being *target, bool keep)
setDirection(LEFT);
}
- mWalkTime = tick_time;
+ mActionTime = tick_time;
mTargetTime = tick_time;
}