diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-05-12 12:49:25 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-05-12 12:49:25 +0100 |
commit | 78070da737d7fb7ed3b0307cd04d46be70e63b83 (patch) | |
tree | 8c1a4d9abe3fa55c284d65859242353eca4a0828 /game/network/network.h | |
parent | Remove all the old network link creation code (diff) | |
download | ilt-78070da737d7fb7ed3b0307cd04d46be70e63b83.tar.bz2 ilt-78070da737d7fb7ed3b0307cd04d46be70e63b83.tar.xz ilt-78070da737d7fb7ed3b0307cd04d46be70e63b83.zip |
Rename terrainSplitAt to connectAt
It doesn't split, it connects a duplicated pair of link definitions.
Diffstat (limited to 'game/network/network.h')
-rw-r--r-- | game/network/network.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/network/network.h b/game/network/network.h index 86e0421..efacac2 100644 --- a/game/network/network.h +++ b/game/network/network.h @@ -72,7 +72,7 @@ protected: [[nodiscard]] GenLinksDef terrainSplit(const GeoData *, const GenStraightDef &) const; [[nodiscard]] GenLinksDef terrainSplit(const GeoData *, const GenCurveDef &) const; - static void terrainSplitAt(GenLinkDef & previous, GenLinkDef & next, GlobalPosition3D pos); + static void connectAt(GenLinkDef & previous, GenLinkDef & next, GlobalPosition3D pos); [[nodiscard]] virtual Link::Ptr create(const GenStraightDef &) = 0; [[nodiscard]] virtual Link::Ptr create(const GenCurveDef &) = 0; |