diff options
author | kaelima <jeppo_meyer@msn.com> | 2011-03-08 09:41:23 +0100 |
---|---|---|
committer | kaelima <jeppo_meyer@msn.com> | 2011-03-08 09:41:23 +0100 |
commit | 8340e5e1dc2cdd9fc852601971fcbb888404abb4 (patch) | |
tree | 1b9c1ed459139ce04b61dbd959fa0b4d3248edbe /src | |
parent | 2fe06ac566b335e052c896e62af851d5383e403f (diff) |
Scripts/Spells: Corrected naming typo from recent Map of the Geyser Fields fix.
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Spells/spell_item.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index 7c0540a79b5..1395625c975 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -924,9 +924,9 @@ class spell_item_gift_of_the_harvester : public SpellScriptLoader enum Sinkholes { - NPC_SOUTH_SIKNHOLE = 25664, - NPC_NORTHEAST_SIKNHOLE = 25665, - NPC_NORTHWEST_SIKNHOLE = 25666, + NPC_SOUTH_SINKHOLE = 25664, + NPC_NORTHEAST_SINKHOLE = 25665, + NPC_NORTHWEST_SINKHOLE = 25666, }; class spell_item_map_of_the_geyser_fields : public SpellScriptLoader @@ -941,9 +941,9 @@ class spell_item_map_of_the_geyser_fields : public SpellScriptLoader SpellCastResult CheckSinkholes() { Unit* caster = GetCaster(); - if (caster->FindNearestCreature(NPC_SOUTH_SIKNHOLE, 30.0f, true) || - caster->FindNearestCreature(NPC_NORTHEAST_SIKNHOLE, 30.0f, true) || - caster->FindNearestCreature(NPC_NORTHWEST_SIKNHOLE, 30.0f, true)) + if (caster->FindNearestCreature(NPC_SOUTH_SINKHOLE, 30.0f, true) || + caster->FindNearestCreature(NPC_NORTHEAST_SINKHOLE, 30.0f, true) || + caster->FindNearestCreature(NPC_NORTHWEST_SINKHOLE, 30.0f, true)) return SPELL_CAST_OK; SetCustomCastResultMessage(SPELL_CUSTOM_ERROR_MUST_BE_CLOSE_TO_SINKHOLE); |