* Add support for RewSpellCast=-1. If -1 remove all auras applied to player at

* quest start.
* Patch by Kudlaty -- THANK YOU!

--HG--
branch : trunk
This commit is contained in:
Brian
2009-12-21 14:48:30 -07:00
parent 6b9d05c315
commit 36d30faabf
18 changed files with 42 additions and 34 deletions

View File

@@ -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)
{