[9587] Fixed freeze after recent loot roll code changes.

Thanks to j4r0d for testing.
This commit is contained in:
VladimirMangos 2010-03-15 17:04:55 +03:00
parent 0bf1d4e51f
commit cee1660a3c
2 changed files with 2 additions and 2 deletions

View file

@ -711,7 +711,7 @@ bool Group::CountRollVote(ObjectGuid const& playerGUID, Rolls::iterator& rollI,
Roll::PlayerVote::iterator itr = roll->playerVote.find(playerGUID.GetRawValue());
// this condition means that player joins to the party after roll begins
if (itr == roll->playerVote.end())
return false;
return true; // result used for need iterator ++, so avoid for end of list
if (roll->getLoot())
if (roll->getLoot()->items.empty())