Code Style: tab to spaces

--HG--
branch : trunk
This commit is contained in:
Spp
2010-04-07 17:24:07 +02:00
parent 502fc82fb8
commit f490ad5ac2
54 changed files with 330 additions and 330 deletions

View File

@@ -1147,10 +1147,10 @@ void GameObject::Use(Unit* user)
break;
}
if (BattleGround* bg = player->GetBattleGround())
{
bg->EventPlayerUsedGO(player, this);
}
if (BattleGround* bg = player->GetBattleGround())
{
bg->EventPlayerUsedGO(player, this);
}
player->CastedCreatureOrGO(info->id, GetGUID(), 0);
}
@@ -1593,12 +1593,12 @@ void GameObject::TakenDamage(uint32 damage, Unit *who)
SetFlag(GAMEOBJECT_FLAGS, GO_FLAG_DESTROYED);
SetUInt32Value(GAMEOBJECT_DISPLAYID, m_goInfo->building.destroyedDisplayId);
EventInform(m_goInfo->building.destroyedEvent);
if(pwho)
{
if(BattleGround* bg = pwho->GetBattleGround())
bg->EventPlayerDamagedGO(pwho, this, m_goInfo->building.destroyedEvent);
}
}
if(pwho)
{
if(BattleGround* bg = pwho->GetBattleGround())
bg->EventPlayerDamagedGO(pwho, this, m_goInfo->building.destroyedEvent);
}
}
}
else // from intact to damaged
{