mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[10683] Revert "[10677] Send to creature/etc Update call real diff from last update and use it."
This reverts commit 10784a8c7cc81c468b5411e973d36ecf31de9603. Main reason: impossibility for me as commiter test problem and fix all corner cases problems.
This commit is contained in:
parent
2f144d9d29
commit
0847d4c8cd
35 changed files with 149 additions and 162 deletions
|
|
@ -1380,7 +1380,7 @@ void World::DetectDBCLang()
|
|||
}
|
||||
|
||||
/// Update the World !
|
||||
void World::Update(uint32 time_, uint32 diff)
|
||||
void World::Update(uint32 diff)
|
||||
{
|
||||
///- Update the different timers
|
||||
for(int i = 0; i < WUPDATE_COUNT; ++i)
|
||||
|
|
@ -1467,7 +1467,7 @@ void World::Update(uint32 time_, uint32 diff)
|
|||
{
|
||||
m_timers[WUPDATE_OBJECTS].Reset();
|
||||
///- Update objects when the timer has passed (maps, transport, creatures,...)
|
||||
sMapMgr.Update(time_, diff); // As interval = 0
|
||||
sMapMgr.Update(diff); // As interval = 0
|
||||
|
||||
sBattleGroundMgr.Update(diff);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue