Core/Loot: fix small error

This commit is contained in:
Kandera
2012-07-09 13:42:38 -04:00
parent 8f74498add
commit a24b6576e2

View File

@@ -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;
@@ -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;