Skip to content

Commit 25239ba

Browse files
committed
Fix merge conflict
This edit is required for custom FP nodes through Lua
1 parent c78f75f commit 25239ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/game/Globals/ObjectMgr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6846,7 +6846,7 @@ uint32 ObjectMgr::GetNearestTaxiNode(float x, float y, float z, uint32 mapid, ui
68466846
uint32 submask = 1<<((i-1)%32);
68476847

68486848
// skip not taxi network nodes
6849-
if (field >= TaxiMaskSize || (sTaxiNodesMask[field] & submask) == 0)
6849+
if (field >= sTaxiNodesMask.size() || (sTaxiNodesMask[field] & submask) == 0)
68506850
continue;
68516851

68526852
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);

0 commit comments

Comments
 (0)