From 789a16e4e97d4050bb8db9cc3aebb01e807ac8c7 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 10 Mar 2021 01:54:40 +0000 Subject: Push more RailLinks logic down into NetworkOf --- game/network/network.impl.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'game/network/network.impl.h') diff --git a/game/network/network.impl.h b/game/network/network.impl.h index ddb1ae5..699cb94 100644 --- a/game/network/network.impl.h +++ b/game/network/network.impl.h @@ -10,3 +10,12 @@ NetworkOf::render(const Shader & shader) const texture->Bind(); links.apply(&T::render, shader); } + +template +void +NetworkOf::joinLinks(const LinkPtr & l) const +{ + for (const auto & ol : links.objects) { + Network::joinLinks(l, ol); + } +} -- cgit v1.2.3