diff options
| author | Chaplain <aionthefirst@gmail.com> | 2011-09-01 22:38:32 +0300 |
|---|---|---|
| committer | Chaplain <aionthefirst@gmail.com> | 2011-09-01 22:38:32 +0300 |
| commit | bea649d0451271eda60aadff6040c3e6a9899a3f (patch) | |
| tree | 49383b7f9b8caac38552a4c6d0c65c34c22cc4e2 /src/server/scripts/World | |
| parent | 0046083509304113a951519191a6a4d251cf2e5c (diff) | |
Core: cleanup.
*remove some garbage
*little bit moore const func
*fix process of args in vmap3_extractor
Diffstat (limited to 'src/server/scripts/World')
| -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; |
