Fading soungs: Fix client crash on older servers

master
SmallJoker 2017-05-03 13:48:46 +02:00
parent ad9fcf859e
commit 468eeb618e
1 changed files with 1 additions and 1 deletions

View File

@ -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;