mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[9587] Fixed freeze after recent loot roll code changes.
Thanks to j4r0d for testing.
This commit is contained in:
parent
0bf1d4e51f
commit
cee1660a3c
2 changed files with 2 additions and 2 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue