diff options
| author | megamage <none@none> | 2009-01-02 10:35:19 -0600 | 
|---|---|---|
| committer | megamage <none@none> | 2009-01-02 10:35:19 -0600 | 
| commit | 3deefb9f00201033728d4467180d8ba9aa265a20 (patch) | |
| tree | dcd243f7f2f27f03e8c1f1d74e42aac332e508d8 /src/game/LootMgr.cpp | |
| parent | 75f0da72eea3ab2f8a6b5a2a9bc8361c4a656afe (diff) | |
| parent | deac8370d71c0f72b5d60709c09dc2830c1680bd (diff) | |
*Update to Trinity 759.
--HG--
branch : trunk
Diffstat (limited to 'src/game/LootMgr.cpp')
| -rw-r--r-- | src/game/LootMgr.cpp | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/LootMgr.cpp b/src/game/LootMgr.cpp index 61c626a544c..90162a213d7 100644 --- a/src/game/LootMgr.cpp +++ b/src/game/LootMgr.cpp @@ -778,8 +778,7 @@ LootStoreItem const * LootTemplate::LootGroup::Roll() const                  return &ExplicitlyChanced[i];              ItemPrototype const *pProto = objmgr.GetItemPrototype(ExplicitlyChanced[i].itemid); -            float qualityMultiplier = pProto ? sWorld.getRate(qualityToRate[pProto->Quality]) : 1.0f; -            Roll -= ExplicitlyChanced[i].chance * qualityMultiplier; +            Roll -= ExplicitlyChanced[i].chance;              if (Roll < 0)                  return &ExplicitlyChanced[i];          }  | 
