diff options
Diffstat (limited to 'game/network')
-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 79a4a2b..34e6a60 100644 --- a/game/network/network.h +++ b/game/network/network.h @@ -37,7 +37,7 @@ public: protected: static void joinLinks(const LinkPtr & l, const LinkPtr & ol); - using Nodes = std::set<NodePtr, PtrSorter<NodePtr>>; + using Nodes = std::set<NodePtr, PtrMemberSorter<NodePtr, &Node::pos>>; Nodes nodes; std::shared_ptr<Texture> texture; }; |