diff options
author | megamage <none@none> | 2009-08-13 14:39:01 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-13 14:39:01 -0500 |
commit | e0449b421c6cc29d4ea6b292ec64462f7491b579 (patch) | |
tree | de37ca152fe8f5dc3b810c7e473f6a43dbcc39e8 /src | |
parent | e2374e8bdb358922760e6e14b2c4744c085d5dd1 (diff) |
*Add some detailed error log in SCRIPT_COMMAND_CAST_SPELL so we can know what is causing spams
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Map.cpp b/src/game/Map.cpp index 341cd59960f..1d6f1d2b5da 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -3307,7 +3307,7 @@ void Map::ScriptsProcess() if(!cmdTarget) { - sLog.outError("SCRIPT_COMMAND_CAST_SPELL call for NULL %s.",step.script->datalong2 & 0x01 ? "source" : "target"); + sLog.outError("SCRIPT_COMMAND_CAST_SPELL %u call for NULL %s.", step.script->datalong, step.script->datalong2 & 0x01 ? "source" : "target"); break; } @@ -3323,7 +3323,7 @@ void Map::ScriptsProcess() if(!cmdSource) { - sLog.outError("SCRIPT_COMMAND_CAST_SPELL call for NULL %s.",step.script->datalong2 & 0x02 ? "target" : "source"); + sLog.outError("SCRIPT_COMMAND_CAST_SPELL %u call for NULL %s.", step.script->datalong, step.script->datalong2 & 0x02 ? "target" : "source"); break; } |