mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 01:37:04 +00:00
Cleanup Operator padding
This commit is contained in:
parent
9141299127
commit
e32b9953a1
264 changed files with 6715 additions and 6715 deletions
|
|
@ -41,7 +41,7 @@ HostileRefManager::~HostileRefManager()
|
|||
void HostileRefManager::threatAssist(Unit* pVictim, float pThreat, SpellEntry const* pThreatSpell, bool pSingleTarget)
|
||||
{
|
||||
uint32 size = pSingleTarget ? 1 : getSize(); // if pSingleTarget do not devide threat
|
||||
float threat = pThreat/size;
|
||||
float threat = pThreat / size;
|
||||
HostileReference* ref = getFirst();
|
||||
while (ref)
|
||||
{
|
||||
|
|
@ -149,7 +149,7 @@ void HostileRefManager::deleteReference(Unit* pCreature)
|
|||
//=================================================
|
||||
// set state for one reference, defined by Unit
|
||||
|
||||
void HostileRefManager::setOnlineOfflineState(Unit* pCreature,bool pIsOnline)
|
||||
void HostileRefManager::setOnlineOfflineState(Unit* pCreature, bool pIsOnline)
|
||||
{
|
||||
HostileReference* ref = getFirst();
|
||||
while (ref)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue