Core/DataStores: Corrected reading CharStartOutfit.dbc

This commit is contained in:
Shauren committed 2013-01-19 18:19:30 +01:00
1 parent 8ecf5ff41d
commit 0333c4ce8f
6 files changed
+25 -11

No files matched your search

+1 -1
View File
@@ -1120,7 +1120,7 @@ bool Player::Create(uint32 guidlow, CharacterCreateInfo* createInfo)
addActionButton(action_itr->button, action_itr->action, action_itr->type);
// original items
if (CharStartOutfitEntry const* oEntry = sCharStartOutfitStore.LookupEntry(RaceClassGender))
if (CharStartOutfitEntry const* oEntry = GetCharStartOutfitEntry(createInfo->Race, createInfo->Class, createInfo->Gender))
{
for (int j = 0; j < MAX_OUTFIT_ITEMS; ++j)
{