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/Creature.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/Creature.cpp')
-rw-r--r-- | src/game/Creature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index e89ed26ce29..05f2c7e1ec6 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -2238,7 +2238,7 @@ uint32 Creature::UpdateVendorItemCurrentCount(VendorItem const* vItem, uint32 us if(itr == m_vendorItemCounts.end()) { - uint32 new_count = vItem->maxcount > used_count ? vItem->maxcount-used_count : 0; + int32 new_count = vItem->maxcount > used_count ? vItem->maxcount-used_count : 0; m_vendorItemCounts.push_back(VendorItemCount(vItem->item,new_count)); return new_count; } |