From 8bcef6c2e72d8e7b25c2f8302e88029907a6515b Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Thu, 6 Feb 2020 01:08:53 -0500 Subject: [PATCH] Fix BodyType bug in GlobalLoot --- zone/loottables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/loottables.cpp b/zone/loottables.cpp index 3b5ae520f..500af9d70 100644 --- a/zone/loottables.cpp +++ b/zone/loottables.cpp @@ -518,7 +518,7 @@ void ZoneDatabase::LoadGlobalLoot() auto bodytypes = SplitString(row[9], '|'); for (auto &b : bodytypes) - e.AddRule(GlobalLoot::RuleTypes::Class, std::stoi(b)); + e.AddRule(GlobalLoot::RuleTypes::BodyType, std::stoi(b)); } zone->AddGlobalLootEntry(e);