summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-04 22:11:10 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:57 +0300
commitf446119f951b17b80969ee7eb485702b97a317cf (patch)
tree11185988f97058d37aa52518247795bb0044eeef
parent69a7f70797b3433bfdaf510fb997469b8bf7ba4d (diff)
downloadplus-f446119f951b17b80969ee7eb485702b97a317cf.tar.gz
plus-f446119f951b17b80969ee7eb485702b97a317cf.tar.bz2
plus-f446119f951b17b80969ee7eb485702b97a317cf.tar.xz
plus-f446119f951b17b80969ee7eb485702b97a317cf.zip
Increase number of slots again.
-rw-r--r--src/equipment.h14
-rw-r--r--src/gui/windows/equipmentwindow.cpp2
-rw-r--r--src/net/ea/inventoryhandler.cpp2
3 files changed, 11 insertions, 7 deletions
diff --git a/src/equipment.h b/src/equipment.h
index 1c40d455c..927dcb893 100644
--- a/src/equipment.h
+++ b/src/equipment.h
@@ -62,12 +62,14 @@ class Equipment final
EQUIP_EVOL_RING1_SLOT = 11,
EQUIP_EVOL_RING2_SLOT = 12,
EQUIP_COSTUME_ROBE_SLOT = 13,
- EQUIP_SHADOW_ARMOR_SLOT = 14,
- EQUIP_SHADOW_WEAPON_SLOT = 15,
- EQUIP_SHADOW_SHIELD_SLOT = 16,
- EQUIP_SHADOW_SHOES_SLOT = 17,
- EQUIP_SHADOW_ACCESSORY1_SLOT = 18,
- EQUIP_SHADOW_ACCESSORY2_SLOT = 19,
+ EQUIP_MISSING1_SLOT = 14,
+ EQUIP_MISSING2_SLOT = 15,
+ EQUIP_SHADOW_ARMOR_SLOT = 16,
+ EQUIP_SHADOW_WEAPON_SLOT = 17,
+ EQUIP_SHADOW_SHIELD_SLOT = 18,
+ EQUIP_SHADOW_SHOES_SLOT = 19,
+ EQUIP_SHADOW_ACCESSORY1_SLOT = 20,
+ EQUIP_SHADOW_ACCESSORY2_SLOT = 21,
EQUIP_VECTOREND
};
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp
index a3f3d103f..55d143e9a 100644
--- a/src/gui/windows/equipmentwindow.cpp
+++ b/src/gui/windows/equipmentwindow.cpp
@@ -54,7 +54,7 @@
EquipmentWindow *equipmentWindow = nullptr;
EquipmentWindow *beingEquipmentWindow = nullptr;
-static const int BOX_COUNT = 13;
+static const int BOX_COUNT = 22;
EquipmentWindow::EquipmentWindow(Equipment *const equipment,
Being *const being,
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index 4fca6d2d2..2accd70b5 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -58,6 +58,8 @@ const Equipment::Slot EQUIP_POINTS[Equipment::EQUIP_VECTOREND] =
Equipment::EQUIP_EVOL_RING2_SLOT, // Costume Mid Headgear
Equipment::EQUIP_PROJECTILE_SLOT, // Costume Low Headgear
Equipment::EQUIP_COSTUME_ROBE_SLOT, // Costume Garment/Robe
+ Equipment::EQUIP_MISSING1_SLOT, // Missing slot 1
+ Equipment::EQUIP_MISSING2_SLOT, // Missing slot 2
Equipment::EQUIP_SHADOW_ARMOR_SLOT, // Shadow Armor
Equipment::EQUIP_SHADOW_WEAPON_SLOT, // Shadow Weapon
Equipment::EQUIP_SHADOW_SHIELD_SLOT, // Shadow Shield