mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 01:37:01 +00:00
[10213] Implement ITEM_FLAGS2_NEED_ROLL_DISABLED.
This commit is contained in:
parent
5c6fbdb54e
commit
73a00a6807
4 changed files with 35 additions and 13 deletions
|
|
@ -392,8 +392,9 @@ void WorldSession::HandleLootRoll( WorldPacket &recv_data )
|
|||
if (rollType >= MAX_ROLL_FROM_CLIENT)
|
||||
return;
|
||||
|
||||
// everything is fine, do it
|
||||
group->CountRollVote(GetPlayer()->GetObjectGuid(), lootedTarget, itemSlot, RollVote(rollType));
|
||||
// everything is fine, do it, if false then some cheating problem found
|
||||
if(!group->CountRollVote(GetPlayer()->GetObjectGuid(), lootedTarget, itemSlot, RollVote(rollType)))
|
||||
return;
|
||||
|
||||
switch (rollType)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue