aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAokromes <Aokromes@users.noreply.github.com>2014-12-28 10:20:23 +0100
committerAokromes <Aokromes@users.noreply.github.com>2014-12-28 10:20:23 +0100
commitccf2b36c0c704361145a8f7bfc21e4ca50172248 (patch)
tree61488f8dac3418b133b6e522f39225ecc2b80396
parent5f38a824cebae7ae3e585b5e5c2ca9b0c23b9bf9 (diff)
Core/Logs: Move runtime log to debug
because it's already checked at startup.
-rw-r--r--src/server/game/AI/SmartScripts/SmartScript.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp
index 6f14b3a04a8..88b5133baac 100644
--- a/src/server/game/AI/SmartScripts/SmartScript.cpp
+++ b/src/server/game/AI/SmartScripts/SmartScript.cpp
@@ -2276,7 +2276,7 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
if (linked)
ProcessEvent(linked, unit, var0, var1, bvar, spell, gob);
else
- TC_LOG_ERROR("sql.sql", "SmartScript::ProcessAction: Entry " SI64FMTD " SourceType %u, Event %u, Link Event %u not found or invalid, skipped.", e.entryOrGuid, e.GetScriptType(), e.event_id, e.link);
+ TC_LOG_DEBUG("sql.sql", "SmartScript::ProcessAction: Entry " SI64FMTD " SourceType %u, Event %u, Link Event %u not found or invalid, skipped.", e.entryOrGuid, e.GetScriptType(), e.event_id, e.link);
}
}
@@ -3248,7 +3248,7 @@ void SmartScript::InitTimer(SmartScriptHolder& e)
break;
}
}
-void SmartScript::RecalcTimer(SmartScriptHolder& e, uint32 min, uint32 max)
+vbegin(); itr != units-oid SmartScript::RecalcTimer(SmartScriptHolder& e, uint32 min, uint32 max)
{
// min/max was checked at loading!
e.timer = urand(min, max);