*Fix the bug that alliance players cannot use some dk flight nodes.
--HG-- branch : trunk
This commit is contained in:
@@ -5210,7 +5210,7 @@ uint32 ObjectMgr::GetNearestTaxiNode( float x, float y, float z, uint32 mapid, u
|
|||||||
for(uint32 i = 1; i < sTaxiNodesStore.GetNumRows(); ++i)
|
for(uint32 i = 1; i < sTaxiNodesStore.GetNumRows(); ++i)
|
||||||
{
|
{
|
||||||
TaxiNodesEntry const* node = sTaxiNodesStore.LookupEntry(i);
|
TaxiNodesEntry const* node = sTaxiNodesStore.LookupEntry(i);
|
||||||
if(!node || node->map_id != mapid || !node->MountCreatureID[team == ALLIANCE ? 1 : 0])
|
if(!node || node->map_id != mapid || !node->MountCreatureID[team == ALLIANCE ? 1 : 0] && node->MountCreatureID[0] != 32981) // dk flight
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
uint8 field = (uint8)((i - 1) / 32);
|
uint8 field = (uint8)((i - 1) / 32);
|
||||||
|
|||||||
Reference in New Issue
Block a user