From e5272cde78d23a297dad05976e8579b3e5759de4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 26 Feb 2012 21:49:39 +0300 Subject: Fix incorrect last dead frame delay for old servers. --- src/resources/spritedef.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/resources/spritedef.h') diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h index 0490bdcb3..e167cf188 100644 --- a/src/resources/spritedef.h +++ b/src/resources/spritedef.h @@ -175,6 +175,11 @@ class SpriteDef : public Resource */ void substituteActions(); + /** + * Fix bad timeout in last dead action frame + */ + void fixDeadAction(); + /** * When there are no animations defined for the action "complete", its * animations become a copy of those of the action "with". @@ -185,6 +190,8 @@ class SpriteDef : public Resource typedef ImageSets::iterator ImageSetIterator; typedef std::map ActionMap; typedef std::map Actions; + typedef Actions::const_iterator ActionsConstIter; + typedef Actions::iterator ActionsIter; ImageSets mImageSets; Actions mActions; -- cgit v1.2.3-60-g2f50