Core/Misc: Get rid of some useless code

This commit is contained in:
Discover- committed 2013-10-21 09:15:17 +02:00
1 parent 2853e57c3f
commit 1a6157985c
2 files changed
+17 -17

No files matched your search

+2 -2
View File
@@ -7575,7 +7575,7 @@ bool Unit::HandleAuraProc(Unit* victim, uint32 damage, Aura* triggeredByAura, Sp
CastSpell(this, 28682, true);
return (procEx & PROC_EX_CRITICAL_HIT) ? true : false;
return (procEx & PROC_EX_CRITICAL_HIT);
}
// Empowered Fire
case 31656:
@@ -13349,7 +13349,7 @@ void Unit::SetPower(Powers power, uint32 val)
data.append(GetPackGUID());
data << uint8(power);
data << uint32(val);
SendMessageToSet(&data, GetTypeId() == TYPEID_PLAYER ? true : false);
SendMessageToSet(&data, GetTypeId() == TYPEID_PLAYER);
// group update
if (Player* player = ToPlayer())