diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2018-03-08 22:03:45 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-03-08 23:00:17 +0100 |
commit | 373f1bfb4ab5e48a9538e5ee561eb41174725c1c (patch) | |
tree | 1775b54fcf0ecd800f03ef842c11a05de27a1bc8 /src/server.h | |
parent | f35236afea5c23c9aa3a038aac8562c509ad39c2 (diff) | |
download | minetest-373f1bfb4ab5e48a9538e5ee561eb41174725c1c.tar.gz minetest-373f1bfb4ab5e48a9538e5ee561eb41174725c1c.tar.bz2 minetest-373f1bfb4ab5e48a9538e5ee561eb41174725c1c.zip |
Cleanup: drop Server::hudGetHotbarItemcount()
Call directly accessible RemotePlayer::getHotbarItemcount() from server api
Diffstat (limited to 'src/server.h')
-rw-r--r-- | src/server.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/server.h b/src/server.h index 13c21067c..c189860a5 100644 --- a/src/server.h +++ b/src/server.h @@ -290,7 +290,6 @@ public: bool hudChange(RemotePlayer *player, u32 id, HudElementStat stat, void *value); bool hudSetFlags(RemotePlayer *player, u32 flags, u32 mask); bool hudSetHotbarItemcount(RemotePlayer *player, s32 hotbar_itemcount); - s32 hudGetHotbarItemcount(RemotePlayer *player) const; void hudSetHotbarImage(RemotePlayer *player, std::string name); std::string hudGetHotbarImage(RemotePlayer *player); void hudSetHotbarSelectedImage(RemotePlayer *player, std::string name); |