aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/world/2012-10-14-00-world_distortions_in_time.sql2
-rw-r--r--src/server/scripts/Northrend/storm_peaks.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/sql/updates/world/2012-10-14-00-world_distortions_in_time.sql b/sql/updates/world/2012-10-14-00-world_distortions_in_time.sql
index 46d566c092d..fe74f8a7a80 100644
--- a/sql/updates/world/2012-10-14-00-world_distortions_in_time.sql
+++ b/sql/updates/world/2012-10-14-00-world_distortions_in_time.sql
@@ -1,7 +1,7 @@
-- Area conditions for Plant Chieftains Totem
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=56765;
INSERT INTO `conditions`(`SourceTypeOrReferenceId`,`SourceEntry`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ErrorTextId`,`Comment`) VALUES
-(17,56765,29,30446,10,64,'Plant Chieftains Totem only useable next to Rift');
+(17,56765,29,30446,15,64,'Plant Chieftains Totem only useable next to Rift');
-- Apply Close Rift to The Chieftain's Totem
DELETE FROM `creature_template_addon` WHERE `entry`=30444;
diff --git a/src/server/scripts/Northrend/storm_peaks.cpp b/src/server/scripts/Northrend/storm_peaks.cpp
index 5c375d84998..de17fb843d8 100644
--- a/src/server/scripts/Northrend/storm_peaks.cpp
+++ b/src/server/scripts/Northrend/storm_peaks.cpp
@@ -586,7 +586,7 @@ class spell_close_rift : public SpellScriptLoader
bool Validate(SpellInfo const* /*spell*/)
{
- return (bool) sSpellMgr->GetSpellInfo(SPELL_DESPAWN_RIFT);
+ return sSpellMgr->GetSpellInfo(SPELL_DESPAWN_RIFT);
}
void HandlePeriodic(AuraEffect const* /* aurEff */)