Core/Creature: Fix warning

This commit is contained in:
Vincent-Michael
2014-08-14 16:36:04 +02:00
parent ccfa82e7d5
commit 5b355c57ba
2 changed files with 1 additions and 2 deletions

View File

@@ -3213,7 +3213,7 @@ void SmartScript::InitTimer(SmartScriptHolder& e)
void SmartScript::RecalcTimer(SmartScriptHolder& e, uint32 min, uint32 max)
{
// min/max was checked at loading!
e.timer = urand(uint32(min), uint32(max));
e.timer = urand(min, max);
e.active = e.timer ? false : true;
}