diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-24 04:29:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-24 04:29:03 +0300 |
commit | 9ba40776e3b0b00235e821c1157c6b4e0245417d (patch) | |
tree | 1934b95a1c73818d9e6f6d77d04b8daa8ef79e59 /src/net | |
parent | 3e5dbaaa903d4f4ea039902ab83259cb1e11a2f4 (diff) | |
download | mv-9ba40776e3b0b00235e821c1157c6b4e0245417d.tar.gz mv-9ba40776e3b0b00235e821c1157c6b4e0245417d.tar.bz2 mv-9ba40776e3b0b00235e821c1157c6b4e0245417d.tar.xz mv-9ba40776e3b0b00235e821c1157c6b4e0245417d.zip |
Fix asserts with missing default music files.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/playerrecv.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/ea/playerrecv.cpp b/src/net/ea/playerrecv.cpp index 1b7add026..8035b9612 100644 --- a/src/net/ea/playerrecv.cpp +++ b/src/net/ea/playerrecv.cpp @@ -224,7 +224,8 @@ void PlayerRecv::processMapMusic(Net::MessageIn &msg) { const int size = msg.readInt16("len") - 5; const std::string music = msg.readString(size, "name"); - soundManager.playMusic(music); + soundManager.playMusic(music, + SkipError_false); Map *const map = viewport->getMap(); if (map) |