Fixed tabs

This commit is contained in:
Brian Swango
2014-08-18 20:06:49 -04:00
parent 87cbe5a2fc
commit 8d92ccd54a

View File

@@ -1266,10 +1266,10 @@ void Item::ItemContainerSaveLootToDB()
if (!_li->canSave)
continue;
// Conditions are not checked when loot is generated, it is checked when loot is sent to a player.
// For items that are lootable, loot is saved to the DB immediately, that means that loot can be
// saved to the DB that the player never should have gotten. This check prevents that, so that only
// items that the player should get in loot are in the DB.
// IE: Horde items are not saved to the DB for Ally players.
// For items that are lootable, loot is saved to the DB immediately, that means that loot can be
// saved to the DB that the player never should have gotten. This check prevents that, so that only
// items that the player should get in loot are in the DB.
// IE: Horde items are not saved to the DB for Ally players.
Player* const guid = GetOwner();
if (!_li->AllowedForPlayer(guid))
continue;