diff options
author | ShadowNinja <shadowninja@minetest.net> | 2014-05-30 16:04:07 -0400 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2014-06-23 15:45:59 -0400 |
commit | 7e6db1b80344a519e53a9967a159c8d3585a9b9d (patch) | |
tree | dcdd53f2f558b8c57ca4b58a754e7ed0be015c6c /src/player.h | |
parent | 50127510e72732b069be040db2d2bbdad4d0be1c (diff) | |
download | minetest-7e6db1b80344a519e53a9967a159c8d3585a9b9d.tar.gz minetest-7e6db1b80344a519e53a9967a159c8d3585a9b9d.tar.bz2 minetest-7e6db1b80344a519e53a9967a159c8d3585a9b9d.zip |
Only keep players loaded while they're connected
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h index 2b04a310c..098a4d153 100644 --- a/src/player.h +++ b/src/player.h @@ -335,6 +335,8 @@ public: RemotePlayer(IGameDef *gamedef): Player(gamedef), m_sao(0) {} virtual ~RemotePlayer() {} + void save(const std::string &savedir); + PlayerSAO *getPlayerSAO() { return m_sao; } void setPlayerSAO(PlayerSAO *sao) |