diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-20 21:01:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-20 21:01:48 +0300 |
commit | 5788066c2033ed8985940f1fef7626ba4e795a7c (patch) | |
tree | 62a59067d5bb6ca4197adc9fd95f75ae3f759595 /src/beingequipbackend.cpp | |
parent | ead240c9e3324256f08b14517a9c110ddd112fb9 (diff) | |
download | plus-5788066c2033ed8985940f1fef7626ba4e795a7c.tar.gz plus-5788066c2033ed8985940f1fef7626ba4e795a7c.tar.bz2 plus-5788066c2033ed8985940f1fef7626ba4e795a7c.tar.xz plus-5788066c2033ed8985940f1fef7626ba4e795a7c.zip |
In Being replace mSpriteCardsIds to using mSlots field.
Diffstat (limited to 'src/beingequipbackend.cpp')
-rw-r--r-- | src/beingequipbackend.cpp | 2 |
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; |