diff --git a/GlobalMethods.h b/GlobalMethods.h index 043494a..10d5f64 100644 --- a/GlobalMethods.h +++ b/GlobalMethods.h @@ -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; }