mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
TaxiBuildfix.
This commit is contained in:
@@ -2419,7 +2419,9 @@ namespace LuaGlobalFunctions
|
||||
}
|
||||
if (startNode >= nodeId)
|
||||
return 1;
|
||||
#ifndef AZEROTHCORE
|
||||
sTaxiPathSetBySource[startNode][nodeId - 1] = TaxiPathBySourceAndDestination(pathId, price);
|
||||
#endif
|
||||
TaxiPathEntry* pathEntry = new TaxiPathEntry();
|
||||
#ifdef TRINITY
|
||||
pathEntry->FromTaxiNode = startNode;
|
||||
@@ -2432,6 +2434,9 @@ namespace LuaGlobalFunctions
|
||||
#endif
|
||||
pathEntry->ID = pathId;
|
||||
sTaxiPathStore.SetEntry(pathId, pathEntry);
|
||||
#ifdef AZEROTHCORE
|
||||
sTaxiPathSetBySource[startNode][nodeId - 1] = pathEntry;
|
||||
#endif
|
||||
Eluna::Push(L, pathId);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user