Core/Creature: Fix warning
This commit is contained in:
1 parent
ccfa82e7d5
commit
5b355c57ba
2 files changed
+1
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user