From 1dfc22f53967ad7e39d42ba8aabe0afa7445476e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 31 Mar 2016 21:25:05 +0300 Subject: Improve drawing player sprites performance. --- src/being/compoundsprite.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/being/compoundsprite.h') 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 ImagesCache; mutable ImagesCache imagesCache; mutable CompoundItem *mCacheItem; -- cgit v1.2.3-60-g2f50