mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-15 04:32:35 -04:00
Core/Creature: Fix warning
This commit is contained in:
@@ -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