summaryrefslogtreecommitdiff
path: root/src/beingequipbackend.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-20 21:01:48 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-20 21:01:48 +0300
commit5788066c2033ed8985940f1fef7626ba4e795a7c (patch)
tree62a59067d5bb6ca4197adc9fd95f75ae3f759595 /src/beingequipbackend.cpp
parentead240c9e3324256f08b14517a9c110ddd112fb9 (diff)
downloadmv-5788066c2033ed8985940f1fef7626ba4e795a7c.tar.gz
mv-5788066c2033ed8985940f1fef7626ba4e795a7c.tar.bz2
mv-5788066c2033ed8985940f1fef7626ba4e795a7c.tar.xz
mv-5788066c2033ed8985940f1fef7626ba4e795a7c.zip
In Being replace mSpriteCardsIds to using mSlots field.
Diffstat (limited to 'src/beingequipbackend.cpp')
-rw-r--r--src/beingequipbackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/beingequipbackend.cpp b/src/beingequipbackend.cpp
index eb05a11fd..f19fbd4a9 100644
--- a/src/beingequipbackend.cpp
+++ b/src/beingequipbackend.cpp
@@ -54,7 +54,7 @@ BeingEquipBackend::BeingEquipBackend(Being *const being)
Favorite_false,
Equipm_true,
Equipped_true);
- const CardsList &cards = being->mSpriteCardsIds[f];
+ const CardsList &cards = being->mSlots[f].cardsId;
if (!cards.isEmpty())
item->setCards(&cards.cards[0], maxCards);
mEquipment[idx] = item;