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/beingmanager.h | |
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/beingmanager.h')
-rw-r--r-- | src/beingmanager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/beingmanager.h b/src/beingmanager.h index 00575041..d4a39168 100644 --- a/src/beingmanager.h +++ b/src/beingmanager.h @@ -128,8 +128,14 @@ class BeingManager void updatePlayerNames(); + /** + * Destroys the given Being at the end of BeingManager::logic + */ + void scheduleDelete(Being *being); + protected: Beings mBeings; + Beings mDeleteBeings; Map *mMap; }; |