Fixed SCRIPT_COMMAND_TALK description, comment was matching the old behavior

This commit is contained in:
Aokromes committed 2017-10-17 13:36:52 +02:00
1 parent 5d62fc73fe
commit 4a0ecb7404
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -669,9 +669,9 @@ void Map::ScriptsProcess()
break;
}
Unit* uSource = NULL;
Unit* uTarget = NULL;
// source/target cast spell at target/source (script->datalong2: 0: s->t 1: s->s 2: t->t 3: t->s
Unit* uSource = nullptr;
Unit* uTarget = nullptr;
// source/target cast spell at target/source (script->datalong2: 0: s->t 1: s->s 2: t->t 3: t->s)
switch (step.script->CastSpell.Flags)
{
case SF_CASTSPELL_SOURCE_TO_TARGET: // source -> target