aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRat <gmstreetrat@gmail.com>2014-12-28 10:34:33 +0100
committerRat <gmstreetrat@gmail.com>2014-12-28 10:34:33 +0100
commit257f46e678ba1c28a967cad7ce226c402d00b27c (patch)
tree8fc7bb96ea28b3e7b84d81baa1e2462aabd663eb
parentccf2b36c0c704361145a8f7bfc21e4ca50172248 (diff)
Core/Aokromes: typo? fix
-rw-r--r--src/server/game/AI/SmartScripts/SmartScript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp
index 88b5133baac..2e86a78148a 100644
--- a/src/server/game/AI/SmartScripts/SmartScript.cpp
+++ b/src/server/game/AI/SmartScripts/SmartScript.cpp
@@ -3248,7 +3248,7 @@ void SmartScript::InitTimer(SmartScriptHolder& e)
break;
}
}
-vbegin(); itr != units-oid SmartScript::RecalcTimer(SmartScriptHolder& e, uint32 min, uint32 max)
+void SmartScript::RecalcTimer(SmartScriptHolder& e, uint32 min, uint32 max)
{
// min/max was checked at loading!
e.timer = urand(min, max);