Quantcast

UNIT_SPELLCAST_SENT returns the spell name, not spell ID.

Johnny C. Lam [06-10-13 - 21:35]
UNIT_SPELLCAST_SENT returns the spell name, not spell ID.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@932 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
OvaleFuture.lua
diff --git a/OvaleFuture.lua b/OvaleFuture.lua
index f6d7a79..bd802ad 100644
--- a/OvaleFuture.lua
+++ b/OvaleFuture.lua
@@ -255,7 +255,7 @@ function OvaleFuture:UNIT_SPELLCAST_SENT(event, unit, spell, rank, target, lineI
 		end
 		self_lastTarget = targetGUID
 		self_lastLineID = lineId
-		TracePrintf(spellId, "%s: %f %d, lineId=%d, targetGUID=%s", event, Ovale.now, spellId, lineId, targetGUID)
+		TracePrintf(spellId, "%s: %f %s, lineId=%d, targetGUID=%s", event, Ovale.now, spell, lineId, targetGUID)
 		for _, spellcast in ipairs(self_activeSpellcast) do
 			if spellcast.lineId == lineId then
 				spellcast.target = targetGUID