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 committed 2011-09-03 08:34:02 -07:00
commit dc01541111
14 files changed
+23 -39

No files matched your search

+2 -2
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;