diff options
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/playerrecv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/playerrecv.cpp b/src/net/ea/playerrecv.cpp index 8eed1ad4b..73d513032 100644 --- a/src/net/ea/playerrecv.cpp +++ b/src/net/ea/playerrecv.cpp @@ -221,7 +221,7 @@ void PlayerRecv::processPlayerArrowMessage(Net::MessageIn &msg) void PlayerRecv::processMapMusic(Net::MessageIn &msg) { - const int size = msg.readInt16("len") - 5; + const int size = msg.readInt16("len") - 4; const std::string music = msg.readString(size, "name"); soundManager.playMusic(music, SkipError_false); |