diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-09 15:47:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-09 15:47:43 +0300 |
commit | a102628a6acaa64ca4b31d588cc9eedbb334d077 (patch) | |
tree | 6548b1685fbd2bde00f6e823bfec3e6bd89e2de8 /src/being/compoundsprite.cpp | |
parent | d874b0d53b19d74d45402bd432b9092186c525ee (diff) | |
download | manaplus-a102628a6acaa64ca4b31d588cc9eedbb334d077.tar.gz manaplus-a102628a6acaa64ca4b31d588cc9eedbb334d077.tar.bz2 manaplus-a102628a6acaa64ca4b31d588cc9eedbb334d077.tar.xz manaplus-a102628a6acaa64ca4b31d588cc9eedbb334d077.zip |
Revert "Improve drawing player sprites performance."
This reverts commit 1dfc22f53967ad7e39d42ba8aabe0afa7445476e.
Diffstat (limited to 'src/being/compoundsprite.cpp')
-rw-r--r-- | src/being/compoundsprite.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/being/compoundsprite.cpp b/src/being/compoundsprite.cpp index 184823011..af2e60d55 100644 --- a/src/being/compoundsprite.cpp +++ b/src/being/compoundsprite.cpp @@ -263,7 +263,6 @@ void CompoundSprite::addSprite(Sprite *const sprite) { mSprites.push_back(sprite); mNeedsRedraw = true; - updateDrawSprites(); } void CompoundSprite::setSprite(const size_t layer, Sprite *const sprite) @@ -275,7 +274,6 @@ void CompoundSprite::setSprite(const size_t layer, Sprite *const sprite) delete mSprites[layer]; mSprites[layer] = sprite; mNeedsRedraw = true; - updateDrawSprites(); } void CompoundSprite::removeSprite(const int layer) @@ -286,7 +284,6 @@ void CompoundSprite::removeSprite(const int layer) delete2(mSprites[layer]); mNeedsRedraw = true; - updateDrawSprites(); } void CompoundSprite::clear() @@ -302,7 +299,6 @@ void CompoundSprite::clear() imagesCache.clear(); delete2(mCacheItem); mLastTime = 0; - updateDrawSprites(); } void CompoundSprite::ensureSize(const size_t layerCount) |