Core/Instances: fixed another deprecation warning
This commit is contained in:
1 parent
f34534465a
commit
2c94bf0a16
1 file changed
+1
-1
@@ -387,7 +387,7 @@ void InstanceSaveManager::LoadResetTimes()
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
// the reset_delay must be at least one day
|
// the reset_delay must be at least one day
|
||||||
uint32 period = uint32(((mapDiff->resetTime * sWorld->getRate(RATE_INSTANCE_RESET_TIME))/DAY) * float(DAY));
|
uint32 period = uint32(((mapDiff->resetTime * sWorld->getRate(RATE_INSTANCE_RESET_TIME)) / float(DAY)) * float(DAY));
|
||||||
if (period < DAY)
|
if (period < DAY)
|
||||||
period = DAY;
|
period = DAY;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user