Added two rules to toggle ornamentations on/off or specify the augtype value

This commit is contained in:
ricardocampos23
2014-04-18 22:31:02 +01:00
parent fcaa52e0c3
commit 5fa1db4c21
11 changed files with 8285 additions and 13 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ void WorldDatabase::GetCharSelectInfo(uint32 account_id, CharacterSelect_Struct*
if (strlen(item->GetItem()->IDFile) > 2)
{
uint32 idfile = 0;
if (item->HasOrnamentation())
if (RuleB(Inventory,UseAugOrnamentations) && item->HasOrnamentation())
{
ItemInst* ornament = item->GetOrnamentation();
if (strlen(ornament->GetItem()->IDFile) > 2)