PDA

Просмотр полной версии : [10272] Add option for search distance to getHeight() functions and make Creature::FallGround() use


newsbot
26.07.2010, 10:11
<pre>m src/game/Creature.cpp
m src/game/Map.cpp
m src/game/Map.h
m src/shared/revision_nr.h
m src/shared/vmap/IVMapManager.h
m src/shared/vmap/MapTree.cpp
m src/shared/vmap/MapTree.h
m src/shared/vmap/VMapDefinitions.h
m src/shared/vmap/VMapManager2.cpp
m src/shared/vmap/VMapManager2.h

[10272] Add option for search distance to getHeight() functions and make
Creature::FallGround() use VMaps properly.

This finally prevents flying creatures from falling to infinity (basically
instantly diappearing) in several instances,
aswell as prevent creatures from falling inside larger solid object around the
world.

Default height search is untouched, needs more research on how creature AI etc.
will be affected.</pre>



Дальше... (http://github.com/mangos/mangos/commit/f2141dc821cf8c8227dd739a7e56f32bf2c15d75)