Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/game/InstanceSaveMgr.cpp b/src/game/InstanceSaveMgr.cpp
- index 267a751..4613867 100644
- --- a/src/game/InstanceSaveMgr.cpp
- +++ b/src/game/InstanceSaveMgr.cpp
- @@ -315,6 +315,8 @@ void InstanceResetScheduler::Update()
- uint32 period = InstanceResetScheduler::GetMaxResetTimeFor(temp);
- time_t next_reset = ((resetTime + MINUTE) / DAY * DAY) + period + diff;
- + m_resetTimeByMapId[event.mapid] = next_reset;
- +
- ResetEventType type = RESET_EVENT_INFORM_1;
- for (; type < RESET_EVENT_INFORM_LAST; type = ResetEventType(type+1))
- if (next_reset - resetEventTypeDelay[type] > now)
Add Comment
Please, Sign In to add comment