Merge pull request #2852 from Chaplain/cleanup2

Core/Misc: Cleanup - remove unused variables, add some const modifiers to functions, fix process of args in vmap3_extractor
This commit is contained in:
QAston
2011-09-03 08:34:02 -07:00
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;