diff options
| author | visagalis <none@none> | 2008-11-14 17:03:03 -0600 |
|---|---|---|
| committer | visagalis <none@none> | 2008-11-14 17:03:03 -0600 |
| commit | bfa9e7516177af9e13391a09d4e1356c74a4c2ba (patch) | |
| tree | b4b4c98fac8e547db4a165e5e8cc0fb03c21c005 /src/game/LootMgr.cpp | |
| parent | d1e759479b3f31cccc270e40d3e6af13204eb627 (diff) | |
[svn] *** Source: MaNGOS ***
* Implement localization of creature/gameobject name that say/yell. Author: evilstar (rewrited by: Vladimir)
* Fix auth login queue. Author: Derex
* Allowed switching INVTYPE_HOLDABLE items during combat, used correct spells for triggering global cooldown at weapon switch. Author: mobel/simak
* Fixed some format arg type/value pairs. Other warnings. Author: Vladimir
* [238_world.sql] Allow have team dependent graveyards at entrance map for instances. Author: Vladimir
NOTE:
Entrance map graveyards selected by same way as local (by distance from entrance) Until DB support will work in old way base at current DB data.
--HG--
branch : trunk
Diffstat (limited to 'src/game/LootMgr.cpp')
| -rw-r--r-- | src/game/LootMgr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/LootMgr.cpp b/src/game/LootMgr.cpp index 436774d4218..c985a7c8318 100644 --- a/src/game/LootMgr.cpp +++ b/src/game/LootMgr.cpp @@ -271,7 +271,8 @@ bool LootStoreItem::IsValid(LootStore const& store, uint32 entry) const if( chance != 0 && chance < 0.000001f ) // loot with low chance { - sLog.outErrorDb("Table '%s' entry %d item %d: low chance (%d) - skipped", store.GetName(), entry, itemid, chance); + sLog.outErrorDb("Table '%s' entry %d item %d: low chance (%f) - skipped", + store.GetName(), entry, itemid, chance); return false; } } |
