From 1bcce010b5b11b485ba80df58c984277100dc99e Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 11 May 2025 00:12:42 +0100 Subject: Fix conditional render of rail links Tests for vertices, not links in network. Fixes case where links are present but not in network, e.g. currently being built. --- game/network/network.h | 1 + 1 file changed, 1 insertion(+) (limited to 'game/network/network.h') diff --git a/game/network/network.h b/game/network/network.h index 0c499c6..c1d3265 100644 --- a/game/network/network.h +++ b/game/network/network.h @@ -135,4 +135,5 @@ public: protected: Link::CCollection addCurve(const GeoData *, const GenCurveDef &); + [[nodiscard]] bool anyLinks() const; }; -- cgit v1.2.3