Core: cleanup.

*remove some garbage
*little bit moore const func
*fix process of args in vmap3_extractor
This commit is contained in:
Chaplain
2011-09-01 22:38:32 +03:00
parent 0046083509
commit bea649d045
14 changed files with 23 additions and 39 deletions

View File

@@ -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;