diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-23 01:27:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-23 01:27:45 +0300 |
commit | 9be90b76adb1518c4ffe0e365a18c5afcc3158f2 (patch) | |
tree | bbfea959321e05c329f18ac37757be91f38b9df8 /src/beingequipbackend.cpp | |
parent | 7f1053c5ce9e80485730290d002f7ae25db83996 (diff) | |
download | manaplus-9be90b76adb1518c4ffe0e365a18c5afcc3158f2.tar.gz manaplus-9be90b76adb1518c4ffe0e365a18c5afcc3158f2.tar.bz2 manaplus-9be90b76adb1518c4ffe0e365a18c5afcc3158f2.tar.xz manaplus-9be90b76adb1518c4ffe0e365a18c5afcc3158f2.zip |
Add item type to item object.
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 344b36856..4a7f31c4a 100644 --- a/src/beingequipbackend.cpp +++ b/src/beingequipbackend.cpp @@ -42,7 +42,7 @@ BeingEquipBackend::BeingEquipBackend(Being *const being) const int id = being->mSpriteIDs[f]; if (id > 0 && idx >= 0 && idx < EQUIPMENT_SIZE) { - mEquipment[idx] = new Item(id, 1, 0, + mEquipment[idx] = new Item(id, 0, 1, 0, being->mSpriteColorsIds[f], true, false, false, true, true); } |