diff options
Diffstat (limited to 'game/network/rail.cpp')
-rw-r--r-- | game/network/rail.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/game/network/rail.cpp b/game/network/rail.cpp index 1f3cc01..10dfb88 100644 --- a/game/network/rail.cpp +++ b/game/network/rail.cpp @@ -24,8 +24,8 @@ RailLinks::joinLinks(const LinkPtr & l) const for (const auto oe : {0, 1}) { for (const auto te : {0, 1}) { if (l->ends[te].first == ol->ends[oe].first) { - l->nexts[te].emplace_back(ol.get(), oe); - ol->nexts[oe].emplace_back(l.get(), te); + l->nexts[te].emplace_back(ol, oe); + ol->nexts[oe].emplace_back(l, te); } } } |