From 7b43f68ff78bb626b5c842f1cf904b7639131da1 Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 9 Mar 2009 17:44:59 -0600 Subject: [7419] Fixed some type convertion warnings. Author: VladimirMangos --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Unit.cpp') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index affe75d41d0..171526aaf7f 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -6705,7 +6705,7 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, Aura* triggeredB //else if (auraSpellInfo->Id==47300) // Dark Flame Aura else if (auraSpellInfo->Id==57345) // Darkmoon Card: Greatness { - uint32 stat = 0; + float stat = 0.0f; // strength if (GetStat(STAT_STRENGTH) > stat) { trigger_spell_id = 60229;stat = GetStat(STAT_STRENGTH); } // agility -- cgit v1.2.3