diff options
Diffstat (limited to 'src/server/scripts')
| -rw-r--r-- | src/server/scripts/World/go_scripts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/World/go_scripts.cpp b/src/server/scripts/World/go_scripts.cpp index fba7b44d789..d99501f6aaa 100644 --- a/src/server/scripts/World/go_scripts.cpp +++ b/src/server/scripts/World/go_scripts.cpp @@ -313,10 +313,10 @@ public: { if (!creature->IsHostileTo(player)) { - uint32 Spell = 0; - if (FactionTemplateEntry const* pFaction = creature->getFactionTemplateEntry()) { + uint32 Spell = 0; + switch(pFaction->faction) { case 1011: Spell = SPELL_REP_LC; break; |
