We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b9a71e commit 6a80552Copy full SHA for 6a80552
1 file changed
libs/s25main/buildings/noBaseBuilding.cpp
@@ -212,7 +212,7 @@ bool noBaseBuilding::IsConnected() const
212
const helpers::EnumArray<RoadSegment*, Direction> routes = this->GetFlag()->getRoutes();
213
214
// Harbors are always considered connected via sea
215
- if (this->GetBuildingType() == BuildingType::HarborBuilding)
+ if(this->GetBuildingType() == BuildingType::HarborBuilding)
216
return true;
217
218
// Check paths in all directions except back to building
0 commit comments