mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
[10687] UInt32 timer class copies instead using time_t timers for mstime cases.
Also cleanup weather update code and some random code cleanups.
This commit is contained in:
parent
478bf3b367
commit
464908f453
15 changed files with 87 additions and 67 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((uint32)i_timer.GetCurrent());
|
||||
iter->second->Update(i_timer.GetCurrent());
|
||||
|
||||
for (TransportSet::iterator iter = m_Transports.begin(); iter != m_Transports.end(); ++iter)
|
||||
(*iter)->Update((uint32)i_timer.GetCurrent());
|
||||
(*iter)->Update(i_timer.GetCurrent());
|
||||
|
||||
i_timer.SetCurrent(0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue