diff options
author | Brian <runningnak3d@gmail.com> | 2009-12-21 14:48:30 -0700 |
---|---|---|
committer | Brian <runningnak3d@gmail.com> | 2009-12-21 14:48:30 -0700 |
commit | 36d30faabf6716e585ebbbfce30577bb143a0481 (patch) | |
tree | 890174d89153a18fcc10b916592e3c3644e02e48 /src/game/Item.cpp | |
parent | 6b9d05c315c23d37eb41580805465394b3378b99 (diff) |
* Add support for RewSpellCast=-1. If -1 remove all auras applied to player at
* quest start.
* Patch by Kudlaty -- THANK YOU!
--HG--
branch : trunk
Diffstat (limited to 'src/game/Item.cpp')
-rw-r--r-- | src/game/Item.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Item.cpp b/src/game/Item.cpp index d00e4d535d3..0197de1d3ff 100644 --- a/src/game/Item.cpp +++ b/src/game/Item.cpp @@ -552,7 +552,7 @@ int32 Item::GenerateItemRandomPropertyId(uint32 item_id) // RandomProperty case if(itemProto->RandomProperty) { - uint32 randomPropId = GetItemEnchantMod(itemProto->RandomProperty); + int32 randomPropId = GetItemEnchantMod(itemProto->RandomProperty); ItemRandomPropertiesEntry const *random_id = sItemRandomPropertiesStore.LookupEntry(randomPropId); if(!random_id) { |