mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-31 09:33:47 +00:00
fix(Core/AI): more AI factory checks (#12402)
Co-authored-by: ariel- <ariel-@users.noreply.github.com> Co-authored-by: Treeston <treeston@users.noreply.github.com> Co-authored-by: Aokromes <aokromes@users.noreply.github.com>
This commit is contained in:
@@ -231,7 +231,7 @@ private:
|
||||
struct TimeTrackerSmall
|
||||
{
|
||||
public:
|
||||
TimeTrackerSmall(uint32 expiry = 0)
|
||||
TimeTrackerSmall(int32 expiry = 0)
|
||||
: i_expiryTime(expiry)
|
||||
{
|
||||
}
|
||||
@@ -246,7 +246,7 @@ public:
|
||||
return i_expiryTime <= 0;
|
||||
}
|
||||
|
||||
void Reset(uint32 interval)
|
||||
void Reset(int32 interval)
|
||||
{
|
||||
i_expiryTime = interval;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user