mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 21:57:01 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user