Guest User

Untitled

a guest
Jun 25th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. diff --git a/src/game/InstanceSaveMgr.cpp b/src/game/InstanceSaveMgr.cpp
  2. index 267a751..4613867 100644
  3. --- a/src/game/InstanceSaveMgr.cpp
  4. +++ b/src/game/InstanceSaveMgr.cpp
  5. @@ -315,6 +315,8 @@ void InstanceResetScheduler::Update()
  6. uint32 period = InstanceResetScheduler::GetMaxResetTimeFor(temp);
  7. time_t next_reset = ((resetTime + MINUTE) / DAY * DAY) + period + diff;
  8.  
  9. + m_resetTimeByMapId[event.mapid] = next_reset;
  10. +
  11. ResetEventType type = RESET_EVENT_INFORM_1;
  12. for (; type < RESET_EVENT_INFORM_LAST; type = ResetEventType(type+1))
  13. if (next_reset - resetEventTypeDelay[type] > now)
Add Comment
Please, Sign In to add comment