mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
[10718] Partly revert "[10687] UInt32 timer class copies instead using time_t timers for mstime cases."
This reverts commit 967877fefd91e00895f9790dc006b532b94d41b7 in part MapManager/World timers. Main reason: unclear source cases wrong mstime diff generation at WorldRunnable level at *nix systems. So need have existed in past hacks that skip its.
This commit is contained in:
parent
3b0e926788
commit
c9dacb9940
5 changed files with 12 additions and 7 deletions
|
|
@ -246,10 +246,10 @@ MapManager::Update(uint32 diff)
|
|||
return;
|
||||
|
||||
for(MapMapType::iterator iter=i_maps.begin(); iter != i_maps.end(); ++iter)
|
||||
iter->second->Update(i_timer.GetCurrent());
|
||||
iter->second->Update((uint32)i_timer.GetCurrent());
|
||||
|
||||
for (TransportSet::iterator iter = m_Transports.begin(); iter != m_Transports.end(); ++iter)
|
||||
(*iter)->Update(i_timer.GetCurrent());
|
||||
(*iter)->Update((uint32)i_timer.GetCurrent());
|
||||
|
||||
i_timer.SetCurrent(0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue