refactor(Core): rename namespaces and macros to acore (#2454)
This commit is contained in:
parent
e19e95e5d0
commit
e22d78ecd6
278 changed files with 1292 additions and 1309 deletions
|
|
@ -37,8 +37,8 @@ void ConfusedMovementGenerator<T>::DoInitialize(T* unit)
|
|||
float wanderY = y + (wander_distance * (float)rand_norm() - wander_distance/2);
|
||||
|
||||
// prevent invalid coordinates generation
|
||||
Trinity::NormalizeMapCoord(wanderX);
|
||||
Trinity::NormalizeMapCoord(wanderY);
|
||||
acore::NormalizeMapCoord(wanderX);
|
||||
acore::NormalizeMapCoord(wanderY);
|
||||
|
||||
float new_z = map->GetHeight(unit->GetPhaseMask(), wanderX, wanderY, z, true);
|
||||
if (new_z <= INVALID_HEIGHT || fabs(z-new_z) > 3.0f) // pussywizard
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue