summaryrefslogtreecommitdiff
path: root/game/network/rail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/network/rail.cpp')
-rw-r--r--game/network/rail.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/game/network/rail.cpp b/game/network/rail.cpp
index cc40070..c124a41 100644
--- a/game/network/rail.cpp
+++ b/game/network/rail.cpp
@@ -56,6 +56,7 @@ RailLinks::addLinksBetween(glm::vec3 start, glm::vec3 end)
const auto findDir = [this](const auto & n) {
for (const auto & l : links.objects) {
for (const auto & e : l->ends) {
+ // cppcheck-suppress useStlAlgorithm
if (e.first == n) {
return e.second;
}