From: SmallJoker Date: Wed, 3 May 2017 11:48:46 +0000 (+0200) Subject: Fading soungs: Fix client crash on older servers X-Git-Tag: 0.4.16~171 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=468eeb618e9abbff2f04f4635eb89a8f684d71ae;p=oweals%2Fminetest.git Fading soungs: Fix client crash on older servers --- diff --git a/src/network/clientpackethandler.cpp b/src/network/clientpackethandler.cpp index c3626158e..0dd09c6d1 100644 --- a/src/network/clientpackethandler.cpp +++ b/src/network/clientpackethandler.cpp @@ -780,7 +780,7 @@ void Client::handleCommand_PlaySound(NetworkPacket* pkt) try { *pkt >> fade; - } catch (SerializationError &e) {}; + } catch (PacketError &e) {}; // Start playing int client_id = -1;