aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Events
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2014-03-29 20:58:25 +0100
committerVincent-Michael <Vincent_Michael@gmx.de>2014-03-29 20:58:49 +0100
commit0b615ec159eb5cb969bac92206d059c529642d8f (patch)
tree42a080b5f6474280217bae1c82cf37437528fafc /src/server/scripts/Events
parentd3e292fe1ee70db857cd10700762fb6ccd75325d (diff)
Scripts/Misc: Small code optimizations
Diffstat (limited to 'src/server/scripts/Events')
-rw-r--r--src/server/scripts/Events/childrens_week.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Events/childrens_week.cpp b/src/server/scripts/Events/childrens_week.cpp
index 92e70cd028b..9a332fe335d 100644
--- a/src/server/scripts/Events/childrens_week.cpp
+++ b/src/server/scripts/Events/childrens_week.cpp
@@ -308,7 +308,7 @@ class npc_snowfall_glade_playmate : public CreatureScript
break;
case 4:
orphan->AI()->Talk(TEXT_WOLVAR_ORPHAN_2);
- orphan->AI()->DoCast(me, SPELL_SNOWBALL);
+ orphan->CastSpell(me, SPELL_SNOWBALL);
timer = 5000;
break;
case 5: