DB/Misc: Fix most "X tried to cast unknown spell id 0" errors (related to totems)

This commit is contained in:
Nay
2011-10-31 00:03:45 +00:00
parent d9406b0e59
commit ad1f1dad59
2 changed files with 35 additions and 2 deletions
+2 -2
View File
@@ -1219,9 +1219,9 @@ public:
{
if (uiMissleTimer <= uiDiff)
{
DoCast(me, uiSpell); // this spell is not supported ... YET!
if (uiSpell) // Sometimes it is 0, why?
DoCast(me, uiSpell); // this spell (what spell) is not supported ... YET!
uiMissleTimer = urand(2000, 7000);
} else uiMissleTimer -= uiDiff;
}