mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-19 21:10:12 +02:00
Actually revert this change, it's not better.
This commit is contained in:
parent
4d13c3b94f
commit
20176521eb
@ -175,7 +175,7 @@ void RoadPlacer::drawRoads(bool secondary)
|
||||
void RoadPlacer::addRoadNode(const int3& node)
|
||||
{
|
||||
RecursiveLock lock(externalAccessMutex);
|
||||
roadNodes.push_back(node);
|
||||
roadNodes.insert(node);
|
||||
}
|
||||
|
||||
void RoadPlacer::connectRoads()
|
||||
|
@ -37,7 +37,7 @@ protected:
|
||||
void drawRoads(bool secondary = false); //actually updates tiles
|
||||
|
||||
protected:
|
||||
std::vector<int3> roadNodes; //tiles to be connected with roads
|
||||
rmg::Tileset roadNodes; //tiles to be connected with roads
|
||||
rmg::Area roads; //all tiles with roads
|
||||
rmg::Area areaRoads;
|
||||
rmg::Area isolated;
|
||||
|
Loading…
x
Reference in New Issue
Block a user