diff options
author | maximius <none@none> | 2009-10-28 18:25:36 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-28 18:25:36 -0700 |
commit | d2b869d4e263f1f20cc8c23d12e532ef522605d6 (patch) | |
tree | 0b75fd57f95b92b6d0afb31f099325612cafa0ad /src/game/LootMgr.h | |
parent | 98e546a8045049f6327c29cdccba6027f29b8a40 (diff) |
*Should fix the reversed groupid-lootmode issue.
*Cleanup, and convert npc_innkeeper.cpp back to ANSI from UTF-8 (was causing *nix compile issues apparently)
--HG--
branch : trunk
Diffstat (limited to 'src/game/LootMgr.h')
-rw-r--r-- | src/game/LootMgr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/LootMgr.h b/src/game/LootMgr.h index 7bad72a20c0..f436d644eab 100644 --- a/src/game/LootMgr.h +++ b/src/game/LootMgr.h @@ -88,7 +88,7 @@ struct LootStoreItem // Constructor, converting ChanceOrQuestChance -> (chance, needs_quest) // displayid is filled in IsValid() which must be called after - LootStoreItem(uint32 _itemid, float _chanceOrQuestChance, uint8 _group, uint16 _lootmode, uint8 _conditionId, int32 _mincountOrRef, uint8 _maxcount) + LootStoreItem(uint32 _itemid, float _chanceOrQuestChance, uint16 _lootmode, uint8 _group, uint8 _conditionId, int32 _mincountOrRef, uint8 _maxcount) : itemid(_itemid), chance(fabs(_chanceOrQuestChance)), mincountOrRef(_mincountOrRef), lootmode(_lootmode), group(_group), needs_quest(_chanceOrQuestChance < 0), maxcount(_maxcount), conditionId(_conditionId) {} |