PDA

Просмотр полной версии : [12213] Remove some code from pathfinding


newsbot
14.10.2012, 22:54
Автор: faramir118


<pre>m src/game/MotionMaster.cpp
m src/game/MotionMaster.h
m src/game/MovementGenerator.h
m src/game/PathFinder.cpp
m src/game/TargetedMovementGenerator.cpp
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[12213] Remove some code from pathfinding

* Remove dead code
* Remove some optimisation which could cause bad paths. Pathfinder::calculate now depends entirely on the caller to decide when to not calculate the path</pre>


Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/0afaf3d2098c3333b2740974ce4d79fdf8a77903)