diff options
author | SmallJoker <mk939@ymail.com> | 2017-05-03 13:48:46 +0200 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2017-05-03 13:48:46 +0200 |
commit | 468eeb618e9abbff2f04f4635eb89a8f684d71ae (patch) | |
tree | a9c91d5c2a440f44cec5cddee0756ff4a613512e /src/network/clientpackethandler.cpp | |
parent | ad9fcf859ec2347325830e09504ae96968b51ea8 (diff) | |
download | minetest-468eeb618e9abbff2f04f4635eb89a8f684d71ae.tar.gz minetest-468eeb618e9abbff2f04f4635eb89a8f684d71ae.tar.bz2 minetest-468eeb618e9abbff2f04f4635eb89a8f684d71ae.zip |
Fading soungs: Fix client crash on older servers
Diffstat (limited to 'src/network/clientpackethandler.cpp')
-rw-r--r-- | src/network/clientpackethandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |