summaryrefslogtreecommitdiff
path: root/src/environment.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-01-18 00:27:14 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-01-18 00:27:14 +0200
commitb6787a2b588f516184bf53ef8ae6af79ca54af25 (patch)
tree4173646b2a082c30a5c8392b7b66e3b58048e63c /src/environment.h
parent198632673196c87c5ba549721300d2e2b452f28b (diff)
downloadminetest-b6787a2b588f516184bf53ef8ae6af79ca54af25.tar.gz
minetest-b6787a2b588f516184bf53ef8ae6af79ca54af25.tar.bz2
minetest-b6787a2b588f516184bf53ef8ae6af79ca54af25.zip
fixed erroneus handling of many players with no peer existing at same time
Diffstat (limited to 'src/environment.h')
-rw-r--r--src/environment.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/environment.h b/src/environment.h
index 03f366b47..fa7253170 100644
--- a/src/environment.h
+++ b/src/environment.h
@@ -73,6 +73,8 @@ public:
private:
Map *m_map;
+ // peer_ids in here should be unique, except that there may be
+ // many 0s
core::list<Player*> m_players;
// Debug output goes here
std::ostream &m_dout;