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/ObjectMgr.h | |
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/ObjectMgr.h')
-rw-r--r-- | src/game/ObjectMgr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/ObjectMgr.h b/src/game/ObjectMgr.h index e329da754e4..0dd7087a4e2 100644 --- a/src/game/ObjectMgr.h +++ b/src/game/ObjectMgr.h @@ -870,9 +870,9 @@ class ObjectMgr return &iter->second; } - void AddVendorItem(uint32 entry,uint32 item, uint32 maxcount, uint32 incrtime, uint32 ExtendedCost, bool savetodb = true); // for event + void AddVendorItem(uint32 entry,uint32 item, int32 maxcount, uint32 incrtime, uint32 ExtendedCost, bool savetodb = true); // for event bool RemoveVendorItem(uint32 entry,uint32 item, bool savetodb = true); // for event - bool IsVendorItemValid( uint32 vendor_entry, uint32 item, uint32 maxcount, uint32 ptime, uint32 ExtendedCost, Player* pl = NULL, std::set<uint32>* skip_vendors = NULL, uint32 ORnpcflag = 0 ) const; + bool IsVendorItemValid( uint32 vendor_entry, uint32 item, int32 maxcount, uint32 ptime, uint32 ExtendedCost, Player* pl = NULL, std::set<uint32>* skip_vendors = NULL, uint32 ORnpcflag = 0 ) const; void LoadScriptNames(); ScriptNameMap &GetScriptNames() { return m_scriptNames; } |