Core/Quests: Fixed quest relying on KillCredit fields in creature_template, guid search for real entry should not be performed since we explicitly need the entry from credit
Closes issue #3882. --HG-- branch : trunk
This commit is contained in:
@@ -15187,7 +15187,7 @@ void Player::KilledMonster(CreatureInfo const* cInfo, uint64 guid)
|
|||||||
|
|
||||||
for (uint8 i = 0; i < MAX_KILL_CREDIT; ++i)
|
for (uint8 i = 0; i < MAX_KILL_CREDIT; ++i)
|
||||||
if (cInfo->KillCredit[i])
|
if (cInfo->KillCredit[i])
|
||||||
KilledMonsterCredit(cInfo->KillCredit[i], guid);
|
KilledMonsterCredit(cInfo->KillCredit[i], 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Player::KilledMonsterCredit(uint32 entry, uint64 guid)
|
void Player::KilledMonsterCredit(uint32 entry, uint64 guid)
|
||||||
|
|||||||
Reference in New Issue
Block a user