From ead240c9e3324256f08b14517a9c110ddd112fb9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 20 Jun 2016 20:52:11 +0300 Subject: In Being replace mSpriteIDs to mSlots. --- src/beingequipbackend.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/beingequipbackend.cpp') diff --git a/src/beingequipbackend.cpp b/src/beingequipbackend.cpp index 4cc273ab1..eb05a11fd 100644 --- a/src/beingequipbackend.cpp +++ b/src/beingequipbackend.cpp @@ -35,13 +35,13 @@ BeingEquipBackend::BeingEquipBackend(Being *const being) memset(mEquipment, 0, sizeof(mEquipment)); if (being) { - const size_t sz = being->mSpriteIDs.size(); + const size_t sz = being->mSprites.size(); for (size_t f = 0; f < sz; f ++) { const int idx = inventoryHandler-> convertFromServerSlot(CAST_S32(f)); - const int id = being->mSpriteIDs[f]; + const int id = being->mSlots[f].spriteId; if (id > 0 && idx >= 0 && idx < EQUIPMENT_SIZE) { Item *const item = new Item(id, -- cgit v1.2.3-70-g09d2