diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-06-09 13:37:16 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-06-09 15:14:18 -0600 |
commit | 35e024b85a5448cba235fa400f9412fd4e289ec0 (patch) | |
tree | 58736ebdff483bf7db1398855e514a735ddf075e /src/net/tmwa/beinghandler.cpp | |
parent | ec980b3c586fc64d02ad02f31497013908056d52 (diff) | |
download | mana-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/net/tmwa/beinghandler.cpp')
-rw-r--r-- | src/net/tmwa/beinghandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp index d9caa719..0e89ad18 100644 --- a/src/net/tmwa/beinghandler.cpp +++ b/src/net/tmwa/beinghandler.cpp @@ -146,7 +146,7 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) if (msg.getId() == SMSG_BEING_VISIBLE) { dstBeing->clearPath(); - dstBeing->setWalkTime(tick_time); + dstBeing->setActionTime(tick_time); dstBeing->setAction(Being::STAND); } @@ -615,7 +615,7 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) msg.readInt8(); // Lv msg.readInt8(); // unknown - dstBeing->setWalkTime(tick_time); + dstBeing->setActionTime(tick_time); dstBeing->reset(); dstBeing->setStunMode(stunMode); |