summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-04 21:24:29 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-04 21:39:07 +0300
commit2521a791d764920c194e8fe299110e98dc2e5ab3 (patch)
tree9894d9cabae064e3ab8ab0d43864c152079a750d /src/being/localplayer.cpp
parent9706e377c799d4b2c0a9f88c8ba6768bf2ea858c (diff)
downloadmv-2521a791d764920c194e8fe299110e98dc2e5ab3.tar.gz
mv-2521a791d764920c194e8fe299110e98dc2e5ab3.tar.bz2
mv-2521a791d764920c194e8fe299110e98dc2e5ab3.tar.xz
mv-2521a791d764920c194e8fe299110e98dc2e5ab3.zip
Remove getter getSprite from compoundsprite.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index 9336edae7..cc85f9ee8 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -2329,7 +2329,7 @@ void LocalPlayer::imitateOutfit(const Being *const player,
const AnimatedSprite *const equipmentSprite
= dynamic_cast<const AnimatedSprite *const>(
- player->getSprite(sprite));
+ player->mSprites[sprite]);
if (equipmentSprite)
{