diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-01-15 03:28:19 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-01-15 03:28:19 +0200 |
commit | 3fb0d2fb65c968f91c333a1d31d2d7a1a02ab7d1 (patch) | |
tree | e6e30b538fe9d3e779122111c39a56b727114e0d /src/environment.h | |
parent | cfaa15895ad73ce3cef174f770d877059e9708e0 (diff) | |
download | minetest-3fb0d2fb65c968f91c333a1d31d2d7a1a02ab7d1.tar.gz minetest-3fb0d2fb65c968f91c333a1d31d2d7a1a02ab7d1.tar.bz2 minetest-3fb0d2fb65c968f91c333a1d31d2d7a1a02ab7d1.zip |
Players are left on server while server is running. No passwords yet.
Diffstat (limited to 'src/environment.h')
-rw-r--r-- | src/environment.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/environment.h b/src/environment.h index f6ee2ceee..03f366b47 100644 --- a/src/environment.h +++ b/src/environment.h @@ -59,7 +59,9 @@ public: LocalPlayer * getLocalPlayer(); #endif Player * getPlayer(u16 peer_id); + Player * getPlayer(const char *name); core::list<Player*> getPlayers(); + core::list<Player*> getPlayers(bool ignore_disconnected); void printPlayers(std::ostream &o); #ifndef SERVER |