Skip to content

Commit 468eeb6

Browse files
committedMay 3, 2017
Fading soungs: Fix client crash on older servers
1 parent ad9fcf8 commit 468eeb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/network/clientpackethandler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ void Client::handleCommand_PlaySound(NetworkPacket* pkt)
780780

781781
try {
782782
*pkt >> fade;
783-
} catch (SerializationError &e) {};
783+
} catch (PacketError &e) {};
784784

785785
// Start playing
786786
int client_id = -1;

0 commit comments

Comments
 (0)
Please sign in to comment.