Core/Instances: fixed another deprecation warning

This commit is contained in:
Ovahlord committed 2023-07-05 14:42:09 +02:00
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;