Skip to content

Commit

Permalink
Core/Loot: fix small error
Browse files Browse the repository at this point in the history
  • Loading branch information
Star-lion committed Jul 9, 2012
1 parent 8f74498 commit a24b657
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/server/game/Loot/LootMgr.cpp
Expand Up @@ -913,10 +913,7 @@ ByteBuffer& operator<<(ByteBuffer& b, LootView const& lv)
case GROUP_PERMISSION:
case ROUND_ROBIN_PERMISSION:
if (!item.is_blocked)
{
b << uint8(LOOT_SLOT_TYPE_ALLOW_LOOT);
item.is_blocked = true;
}
else
b << uint8(LOOT_SLOT_TYPE_ROLL_ONGOING);
break;
Expand Down Expand Up @@ -972,10 +969,7 @@ ByteBuffer& operator<<(ByteBuffer& b, LootView const& lv)
case GROUP_PERMISSION:
case ROUND_ROBIN_PERMISSION:
if (!item.is_blocked)
{
b << uint8(LOOT_SLOT_TYPE_ALLOW_LOOT);
item.is_blocked = true;
}
else
b << uint8(LOOT_SLOT_TYPE_ROLL_ONGOING);
break;
Expand Down

0 comments on commit a24b657

Please sign in to comment.