Skip to content

Commit

Permalink
Remove previous Eluna specific core edit
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper committed Jul 21, 2024
1 parent c78f75f commit d998967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/game/Globals/ObjectMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6846,7 +6846,7 @@ uint32 ObjectMgr::GetNearestTaxiNode(float x, float y, float z, uint32 mapid, ui
uint32 submask = 1<<((i-1)%32);

// skip not taxi network nodes
if (field >= TaxiMaskSize || (sTaxiNodesMask[field] & submask) == 0)
if ((sTaxiNodesMask[field] & submask) == 0)
continue;

float dist2 = (node->Pos.X - x)*(node->Pos.X - x)+(node->Pos.Y - y)*(node->Pos.Y - y)+(node->Pos.Z - z)*(node->Pos.Z - z);
Expand Down

0 comments on commit d998967

Please sign in to comment.