[9405] Make all movements instant applied.
commit297025b490fd2085206e69499c1bf4cf7941d364
authorVladimirMangos <vladimir@getmangos.com>
Wed, 17 Feb 2010 22:03:53 +0000 (18 01:03 +0300)
committerVladimirMangos <vladimir@getmangos.com>
Wed, 17 Feb 2010 22:09:33 +0000 (18 01:09 +0300)
tree1b5d3250c84140d75c5ba5d1a1b9a75c409ecb9a
parent00cc0e3b5c0b3fc107aba71a84e5dabda00dbf55
[9405] Make all movements instant applied.

* Drop delayed moves list in Map code
* Apply movement coords update always at call including movement to different cell/grid.
* Instead removed functionality mark creature as need move notify broadcast at next tick, do it.

This must resolve porblesm with CreatureRelocation in past not always update position to new expected at call
And in resul next code fail or work in strange way. Mark creature for notifier call at next Update
let safe main part remopved functionality implemented in another way: prevent cascade (or infinity chain)
in move updates. In fiture possible implement move notify call not at each tick for save time.
12 files changed:
src/game/Creature.cpp
src/game/Creature.h
src/game/Map.cpp
src/game/Map.h
src/game/MapInstanced.cpp
src/game/MapInstanced.h
src/game/MapManager.cpp
src/game/MapManager.h
src/game/Unit.cpp
src/game/Unit.h
src/game/World.cpp
src/shared/revision_nr.h