[7360] Use defines instead harcoded item prototype array sizes. Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-02 16:47:20 -06:00
parent f503f320ad
commit 61b999fd3a
9 changed files with 37 additions and 26 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ enum EnchantmentSlot
#define MAX_VISIBLE_ITEM_OFFSET 18 // 18 fields per visible item (creator(2) + enchantments(13) + properties(1) + seed(1) + pad(1))
#define MAX_GEM_SOCKETS 3 // (BONUS_ENCHANTMENT_SLOT-SOCK_ENCHANTMENT_SLOT)
#define MAX_GEM_SOCKETS MAX_ITEM_PROTO_SOCKETS// (BONUS_ENCHANTMENT_SLOT-SOCK_ENCHANTMENT_SLOT) and item proto size, equal value expected
enum EnchantmentOffset
{