Core: Fix some code style

This commit is contained in:
Vincent-Michael committed 2012-09-07 02:21:38 +02:00
1 parent ce42faafd9
commit 6f38fb1011
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -6728,7 +6728,7 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
if (!victim)
return false;
// 2% of base mana
// 2% of maximum health
basepoints0 = int32(victim->CountPctFromMaxHealth(2));
victim->CastCustomSpell(victim, 20267, &basepoints0, 0, 0, true, 0, triggeredByAura);
return true;
@@ -17029,7 +17029,7 @@ bool Unit::HandleSpellClick(Unit* clicker, int8 seatId)
result = true;
}
if(result)
if (result)
{
Creature* creature = ToCreature();
if (creature && creature->IsAIEnabled)