aboutsummaryrefslogtreecommitdiff
path: root/src/network/clientopcodes.cpp
diff options
context:
space:
mode:
authorJordach <jordach.snelling@gmail.com>2019-08-21 21:47:45 +0100
committersfan5 <sfan5@live.de>2020-03-05 20:12:19 +0100
commit946c03c69bfdde7dc91295692479f8e81bdf79e9 (patch)
tree0ee299c2fc1d424bdbe7bd03964c2ced47bf9b7e /src/network/clientopcodes.cpp
parent580e7e8eb902ae2faed36b4982e7e751e35f5201 (diff)
downloadminetest-946c03c69bfdde7dc91295692479f8e81bdf79e9.tar.gz
minetest-946c03c69bfdde7dc91295692479f8e81bdf79e9.tar.bz2
minetest-946c03c69bfdde7dc91295692479f8e81bdf79e9.zip
set_sky improvements, set_sun, set_moon and set_stars
Diffstat (limited to 'src/network/clientopcodes.cpp')
-rw-r--r--src/network/clientopcodes.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/clientopcodes.cpp b/src/network/clientopcodes.cpp
index 498583df9..431455b76 100644
--- a/src/network/clientopcodes.cpp
+++ b/src/network/clientopcodes.cpp
@@ -114,9 +114,9 @@ const ToClientCommandHandler toClientCommandTable[TOCLIENT_NUM_MSG_TYPES] =
{ "TOCLIENT_MODCHANNEL_MSG", TOCLIENT_STATE_CONNECTED, &Client::handleCommand_ModChannelMsg }, // 0x57
{ "TOCLIENT_MODCHANNEL_SIGNAL", TOCLIENT_STATE_CONNECTED, &Client::handleCommand_ModChannelSignal }, // 0x58
{ "TOCLIENT_NODEMETA_CHANGED", TOCLIENT_STATE_CONNECTED, &Client::handleCommand_NodemetaChanged }, // 0x59
- null_command_handler,
- null_command_handler,
- null_command_handler,
+ { "TOCLIENT_SET_SUN", TOCLIENT_STATE_CONNECTED, &Client::handleCommand_HudSetSun }, // 0x5a
+ { "TOCLIENT_SET_MOON", TOCLIENT_STATE_CONNECTED, &Client::handleCommand_HudSetMoon }, // 0x5b
+ { "TOCLIENT_SET_STARS", TOCLIENT_STATE_CONNECTED, &Client::handleCommand_HudSetStars }, // 0x5c
null_command_handler,
null_command_handler,
null_command_handler,