message: Use ternary to simplify outer if block in checkStructurePlacement
diff: @@ -96,14 +96,9 @@ bool checkStructurePlacement(Tile& tile, Direction dir)
  }
  const auto connectorDirection = structure->connectorDirection();
  - if (dir == Direction::East || dir == Direction::West)
  - {
  - return (connectorDirection == ConnectorDir::CONNECTOR_INTERSECTION || connectorDirection == ConnectorDir::CONNECTOR_RIGHT || connectorDirection == ConnectorDir::CONNECTOR_VERTICAL);
  - }
  - else // NORTH/SOUTH
  - {
  - return (connectorDirection == ConnectorDir::CONNECTOR_INTERSECTION || connectorDirection == ConnectorDir::CONNECTOR_LEFT || connectorDirection == ConnectorDir::CONNECTOR_VERTICAL);
  - }
  + return (dir == Direction::East || dir == Direction::West) ?
  + (connectorDirection == ConnectorDir::CONNECTOR_INTERSECTION || connectorDirection == ConnectorDir::CONNECTOR_RIGHT || connectorDirection == ConnectorDir::CONNECTOR_VERTICAL) :
  + (connectorDirection == ConnectorDir::CONNECTOR_INTERSECTION || connectorDirection == ConnectorDir::CONNECTOR_LEFT || connectorDirection == ConnectorDir::CONNECTOR_VERTICAL);
  }
  