aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Entities/Item
diff options
context:
space:
mode:
authorIntel <chemicstry@gmail.com>2014-11-08 19:26:20 +0200
committerIntel <chemicstry@gmail.com>2014-11-08 19:26:20 +0200
commit4e684f74a8cc7007fbfa5fa06ec822c1b07e2109 (patch)
tree1f42df1e1ac7ab9754d48879b6d49801555ec6d8 /src/server/game/Entities/Item
parentbb60453cb32474c295c589517c9779c44b4e5cd0 (diff)
Core/DataStores: Updated DungeonEncounter.dbc, DurabilityCosts.dbc, DurabilityQuality.dbc, EmotesEntry.dbc, EmotesText.dbc, Faction.dbc, FactionTemplate.dbc structs
Diffstat (limited to 'src/server/game/Entities/Item')
-rw-r--r--src/server/game/Entities/Item/ItemPrototype.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/server/game/Entities/Item/ItemPrototype.h b/src/server/game/Entities/Item/ItemPrototype.h
index d8e999bbc86..32781f68e34 100644
--- a/src/server/game/Entities/Item/ItemPrototype.h
+++ b/src/server/game/Entities/Item/ItemPrototype.h
@@ -573,16 +573,6 @@ const uint32 MaxItemSubclassValues[MAX_ITEM_CLASS] =
MAX_ITEM_SUBCLASS_GLYPH
};
-inline uint8 ItemSubClassToDurabilityMultiplierId(uint32 ItemClass, uint32 ItemSubClass)
-{
- switch (ItemClass)
- {
- case ITEM_CLASS_WEAPON: return ItemSubClass;
- case ITEM_CLASS_ARMOR: return ItemSubClass + 21;
- }
- return 0;
-}
-
// GCC have alternative #pragma pack(N) syntax and old gcc version not support pack(push, N), also any gcc version not support it at some platform
#if defined(__GNUC__)
#pragma pack(1)