Skip to content

Commit

Permalink
Fading soungs: Fix client crash on older servers
Browse files Browse the repository at this point in the history
  • Loading branch information
SmallJoker committed May 3, 2017
1 parent ad9fcf8 commit 468eeb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/clientpackethandler.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 468eeb6

Please sign in to comment.