diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-09-27 20:05:36 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-09-27 20:05:36 +0200 |
commit | 89f490bdcdf88c2576c17218926e89b1082ae682 (patch) | |
tree | 356a0be852515b56736f21bc60af3649c4153032 /src/server/game/Entities/Taxi | |
parent | be04c17916aa35173ed328eb27cb5f246bc8b863 (diff) |
Core/DataStores: Removed overriding field sign type based on db2 column compression
Diffstat (limited to 'src/server/game/Entities/Taxi')
-rw-r--r-- | src/server/game/Entities/Taxi/TaxiPathGraph.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Entities/Taxi/TaxiPathGraph.cpp b/src/server/game/Entities/Taxi/TaxiPathGraph.cpp index 2885a4341ac..2754591bcf2 100644 --- a/src/server/game/Entities/Taxi/TaxiPathGraph.cpp +++ b/src/server/game/Entities/Taxi/TaxiPathGraph.cpp @@ -63,7 +63,7 @@ Graph m_graph; std::vector<TaxiNodesEntry const*> m_nodesByVertex; std::unordered_map<uint32, vertex_descriptor> m_verticesByNode; -void GetTaxiMapPosition(DBCPosition3D const& position, int32 mapId, DBCPosition2D* uiMapPosition, int32* uiMapId) +void GetTaxiMapPosition(DBCPosition3D const& position, int32 mapId, DBCPosition2D* uiMapPosition, uint32* uiMapId) { if (!DB2Manager::GetUiMapPosition(position.X, position.Y, position.Z, mapId, 0, 0, 0, UI_MAP_SYSTEM_ADVENTURE, false, uiMapId, uiMapPosition)) DB2Manager::GetUiMapPosition(position.X, position.Y, position.Z, mapId, 0, 0, 0, UI_MAP_SYSTEM_TAXI, false, uiMapId, uiMapPosition); @@ -109,7 +109,7 @@ void AddVerticeAndEdgeFromNodeInfo(TaxiNodesEntry const* from, TaxiNodesEntry co if (nodes[i - 1]->Flags & TAXI_PATH_NODE_FLAG_TELEPORT) continue; - int32 uiMap1, uiMap2; + uint32 uiMap1, uiMap2; DBCPosition2D pos1, pos2; GetTaxiMapPosition(nodes[i - 1]->Loc, nodes[i - 1]->ContinentID, &pos1, &uiMap1); |