aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/network/clientpackethandler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/clientpackethandler.cpp b/src/network/clientpackethandler.cpp
index f6de9cd8b..0a9f8c212 100644
--- a/src/network/clientpackethandler.cpp
+++ b/src/network/clientpackethandler.cpp
@@ -1244,12 +1244,11 @@ void Client::handleCommand_HudSetSky(NetworkPacket* pkt)
skybox.bgcolor = video::SColor(readARGB8(is));
skybox.type = std::string(deSerializeString(is));
u16 count = readU16(is);
- std::vector<std::string>* params = new std::vector<std::string>;
for (size_t i = 0; i < count; i++)
skybox.textures.emplace_back(deSerializeString(is));
- bool clouds = true;
+ skybox.clouds = true;
try {
skybox.clouds = readU8(is);
} catch (...) {}