Skip to content

Commit

Permalink
-Internal: Wotlk compilation fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlikely4r committed Jun 5, 2023
1 parent 9a3361a commit 45aeac1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions playerbot/WorldPosition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -755,8 +755,10 @@ void WorldPosition::loadMapAndVMaps(const WorldPosition& secondPos, uint32 insta

void WorldPosition::unloadMapAndVMaps(uint32 mapId)
{
#ifndef MANGOSBOT_TWO
TerrainInfoAccess* terrain = reinterpret_cast<TerrainInfoAccess*>(const_cast<TerrainInfo*>(sTerrainMgr.LoadTerrain(mapId)));
terrain->UnLoadUnused();
#endif
}

vector<WorldPosition> WorldPosition::fromPointsArray(const std::vector<G3D::Vector3>& path) const
Expand Down

0 comments on commit 45aeac1

Please sign in to comment.