aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameEventMgr.cpp
diff options
context:
space:
mode:
authorBrian <runningnak3d@gmail.com>2009-12-21 14:48:30 -0700
committerBrian <runningnak3d@gmail.com>2009-12-21 14:48:30 -0700
commit36d30faabf6716e585ebbbfce30577bb143a0481 (patch)
tree890174d89153a18fcc10b916592e3c3644e02e48 /src/game/GameEventMgr.cpp
parent6b9d05c315c23d37eb41580805465394b3378b99 (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/GameEventMgr.cpp')
-rw-r--r--src/game/GameEventMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameEventMgr.cpp b/src/game/GameEventMgr.cpp
index eed46cfc1e3..c48a0f3f892 100644
--- a/src/game/GameEventMgr.cpp
+++ b/src/game/GameEventMgr.cpp
@@ -832,7 +832,7 @@ void GameEventMgr::LoadFromDB()
NPCVendorEntry newEntry;
uint32 guid = fields[1].GetUInt32();
newEntry.item = fields[2].GetUInt32();
- newEntry.maxcount = fields[3].GetUInt32();
+ newEntry.maxcount = fields[3].GetInt32();
newEntry.incrtime = fields[4].GetUInt32();
newEntry.ExtendedCost = fields[5].GetUInt32();
// get the event npc flag for checking if the npc will be vendor during the event or not