From 2afeac52cf1c09944e89f953b10a7b958322617d Mon Sep 17 00:00:00 2001 From: QAston Date: Thu, 26 Feb 2009 18:24:00 +0100 Subject: [PATCH] *Fix bloodsurge proc. --HG-- branch : trunk --- sql/updates/1570_world.sql | 3 +++ src/game/Unit.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 sql/updates/1570_world.sql diff --git a/sql/updates/1570_world.sql b/sql/updates/1570_world.sql new file mode 100644 index 0000000000..8c4f15fb3e --- /dev/null +++ b/sql/updates/1570_world.sql @@ -0,0 +1,3 @@ +-- Bloodsurge +DELETE FROM `spell_proc_event` WHERE `entry` IN (46915); +INSERT INTO `spell_proc_event` VALUES (46915, 0x00, 6, 0x00000040, 0x00000404, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0); diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 4e24fa723c..3319220623 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -253,7 +253,7 @@ void Unit::Update( uint32 p_time ) i_motionMaster.UpdateMotion(p_time); } -void UpdateAuras() +void Unit::UpdateAuras() { const uint64& auramask = GetAuraUpdateMask(); if (auramask)