summaryrefslogtreecommitdiff
path: root/src/server.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2018-03-08 22:05:47 +0100
committerLoïc Blot <nerzhul@users.noreply.github.com>2018-03-08 23:00:17 +0100
commit4be46aeeb17c42718ecea14934e24d77772b4126 (patch)
treec38820ab515ea3edd167b2c475189b448548a36c /src/server.h
parent373f1bfb4ab5e48a9538e5ee561eb41174725c1c (diff)
downloadminetest-4be46aeeb17c42718ecea14934e24d77772b4126.tar.gz
minetest-4be46aeeb17c42718ecea14934e24d77772b4126.tar.bz2
minetest-4be46aeeb17c42718ecea14934e24d77772b4126.zip
Cleanup: drop Server::hudGetHotbarImage()
Call directly accessible RemotePlayer::getHotbarImage() from server api & make it const ref
Diffstat (limited to 'src/server.h')
-rw-r--r--src/server.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/server.h b/src/server.h
index c189860a5..7b3fe61e2 100644
--- a/src/server.h
+++ b/src/server.h
@@ -291,7 +291,6 @@ public:
bool hudSetFlags(RemotePlayer *player, u32 flags, u32 mask);
bool hudSetHotbarItemcount(RemotePlayer *player, s32 hotbar_itemcount);
void hudSetHotbarImage(RemotePlayer *player, std::string name);
- std::string hudGetHotbarImage(RemotePlayer *player);
void hudSetHotbarSelectedImage(RemotePlayer *player, std::string name);
const std::string &hudGetHotbarSelectedImage(RemotePlayer *player) const;