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/gui | |
parent | ec980b3c586fc64d02ad02f31497013908056d52 (diff) | |
download | mana-client-35e024b85a5448cba235fa400f9412fd4e289ec0.tar.gz mana-client-35e024b85a5448cba235fa400f9412fd4e289ec0.tar.bz2 mana-client-35e024b85a5448cba235fa400f9412fd4e289ec0.tar.xz mana-client-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/gui')
-rw-r--r-- | src/gui/viewport.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 1c793cdd..3e1f2581 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -444,9 +444,9 @@ void Viewport::mouseDragged(gcn::MouseEvent &event) } else { - if (mLocalWalkTime != player_node->getWalkTime()) + if (mLocalWalkTime != player_node->getActionTime()) { - mLocalWalkTime = player_node->getWalkTime(); + mLocalWalkTime = player_node->getActionTime(); int destX = (event.getX() + mPixelViewX + 16) / mMap->getTileWidth(); int destY = (event.getY() + mPixelViewY + 16) / |