aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNay <dnpd.dd@gmail.com>2011-10-31 00:03:45 +0000
committerNay <dnpd.dd@gmail.com>2011-10-31 00:03:45 +0000
commitad1f1dad5911664f16c9bbf23936ceeb99360119 (patch)
treeec61f7d1b51994dd7f84446f9bf6a9b78062dc9a /src
parentd9406b0e5940d2e18c72ed10a45658caf5c508cd (diff)
DB/Misc: Fix most "X tried to cast unknown spell id 0" errors (related to totems)
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Northrend/zuldrak.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Northrend/zuldrak.cpp b/src/server/scripts/Northrend/zuldrak.cpp
index 5dab265617e..aa3b696f5fd 100644
--- a/src/server/scripts/Northrend/zuldrak.cpp
+++ b/src/server/scripts/Northrend/zuldrak.cpp
@@ -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;
}