diff options
| author | megamage <none@none> | 2009-01-03 21:03:10 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-01-03 21:03:10 -0600 |
| commit | 3c1691497d189836adcc0e5fd702665a602cb266 (patch) | |
| tree | 1f6a47bd5d52e2b499543e1a6f9381120f38b568 /src/game/LootMgr.cpp | |
| parent | 1172114a3ee4c78b07e756bfe224295c21f3d456 (diff) | |
| parent | 59f85167ab387a8e8b69aaf1d65f9b6994de9ca0 (diff) | |
*Merge.
--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 4a34f51d672..9271c14ed13 100644 --- a/src/game/LootMgr.cpp +++ b/src/game/LootMgr.cpp @@ -777,8 +777,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]; } |
