Skip to content

Commit

Permalink
fix formating 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Xellzul committed Apr 2, 2024
1 parent a628b35 commit a26fa61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/s25main/world/GameWorld.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ bool GameWorld::HasRemovableObjForRoad(const MapPoint pt) const
// When defined the game tries to remove "blocks" of border stones that look ugly (TODO: Example?)
// DISABLED: This currently leads to bugs. If you enable/fix this, please add tests and document the conditions this
// tries to fix
//#define PREVENT_BORDER_STONE_BLOCKING
// #define PREVENT_BORDER_STONE_BLOCKING

void GameWorld::RecalcBorderStones(Position startPt, Extent areaSize)
{
Expand Down Expand Up @@ -437,7 +437,7 @@ void GameWorld::RecalcTerritory(const noBaseBuilding& building, TerritoryChangeR
// Destroy everything around this point as this is at best a border node where nothing should be around
// TODO: What about this point?
for(const MapPoint neighbourPt : GetNeighbours(curMapPt))
{
{
// Skip if there is an object. We are looking only for roads going through, not ending here
// (objects here are already destroyed and if the road ended there it would have been as well)
if(GetNode(neighbourPt).obj)
Expand Down

0 comments on commit a26fa61

Please sign in to comment.