aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-09 17:44:59 -0600
committermegamage <none@none>2009-03-09 17:44:59 -0600
commit7b43f68ff78bb626b5c842f1cf904b7639131da1 (patch)
tree90e6f991eeec8f7678da3afcca1d6a247bdac501 /src/game/Unit.cpp
parent1131953fa1a9e892bdd30621ce0cf8d0bb740b60 (diff)
[7419] Fixed some type convertion warnings. Author: VladimirMangos
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
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