From 9f5d9cf7fe4edfab83b96249953c762e1655eaae Mon Sep 17 00:00:00 2001 From: NoFantasy Date: Thu, 17 Jun 2010 00:29:05 +0200 Subject: [PATCH] [10067] Allow item INVTYPE_RELIC to be equipped by npc from creature_equip_template Signed-off-by: NoFantasy --- src/game/ObjectMgr.cpp | 3 ++- src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index dad5410154f..9874aece3bc 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -929,7 +929,8 @@ void ObjectMgr::LoadEquipmentTemplates() dbcitem->InventoryType != INVTYPE_WEAPONOFFHAND && dbcitem->InventoryType != INVTYPE_HOLDABLE && dbcitem->InventoryType != INVTYPE_THROWN && - dbcitem->InventoryType != INVTYPE_RANGEDRIGHT) + dbcitem->InventoryType != INVTYPE_RANGEDRIGHT && + dbcitem->InventoryType != INVTYPE_RELIC) { sLog.outErrorDb("Item (entry=%u) in creature_equip_template.equipentry%u for entry = %u is not equipable in a hand, forced to 0.", eqInfo->equipentry[j], j+1, i); const_cast(eqInfo)->equipentry[j] = 0; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index ff8a742d67d..aeef1c1f407 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10066" + #define REVISION_NR "10067" #endif // __REVISION_NR_H__