mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-15 00:06:11 +00:00
feat(Core/Modules): add separated lib for modules (#9281)
This commit is contained in:
@@ -6003,12 +6003,10 @@ uint32 ObjectMgr::GetNearestTaxiNode(float x, float y, float z, uint32 mapid, ui
|
||||
uint32 submask = 1 << ((i - 1) % 32);
|
||||
|
||||
// skip not taxi network nodes
|
||||
#ifndef ELUNA
|
||||
if ((sTaxiNodesMask[field] & submask) == 0)
|
||||
#else
|
||||
if (field >= TaxiMaskSize || (sTaxiNodesMask[field] & submask) == 0)
|
||||
#endif
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
float dist2 = (node->x - x) * (node->x - x) + (node->y - y) * (node->y - y) + (node->z - z) * (node->z - z);
|
||||
if (found)
|
||||
|
||||
Reference in New Issue
Block a user