summaryrefslogtreecommitdiff
path: root/src/being/compoundsprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-31 21:25:05 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-31 21:51:44 +0300
commit1dfc22f53967ad7e39d42ba8aabe0afa7445476e (patch)
treed6a2bda66d2e50646162a15220063a360730ff5b /src/being/compoundsprite.h
parentd6f42c15612b9d40d0a496b2b34efe66df0b74f9 (diff)
downloadManaVerse-1dfc22f53967ad7e39d42ba8aabe0afa7445476e.tar.gz
ManaVerse-1dfc22f53967ad7e39d42ba8aabe0afa7445476e.tar.bz2
ManaVerse-1dfc22f53967ad7e39d42ba8aabe0afa7445476e.tar.xz
ManaVerse-1dfc22f53967ad7e39d42ba8aabe0afa7445476e.zip
Improve drawing player sprites performance.
Diffstat (limited to 'src/being/compoundsprite.h')
-rw-r--r--src/being/compoundsprite.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/being/compoundsprite.h b/src/being/compoundsprite.h
index 71a77e87e..96b14d653 100644
--- a/src/being/compoundsprite.h
+++ b/src/being/compoundsprite.h
@@ -117,6 +117,9 @@ class CompoundSprite notfinal : public Sprite
void initCurrentCacheItem() const;
+ virtual void updateDrawSprites()
+ { }
+
typedef std::list<CompoundItem*> ImagesCache;
mutable ImagesCache imagesCache;
mutable CompoundItem *mCacheItem;