summaryrefslogtreecommitdiff
path: root/src/net/ea/playerrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-24 04:29:03 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-24 04:29:03 +0300
commit9ba40776e3b0b00235e821c1157c6b4e0245417d (patch)
tree1934b95a1c73818d9e6f6d77d04b8daa8ef79e59 /src/net/ea/playerrecv.cpp
parent3e5dbaaa903d4f4ea039902ab83259cb1e11a2f4 (diff)
downloadmanaplus-9ba40776e3b0b00235e821c1157c6b4e0245417d.tar.gz
manaplus-9ba40776e3b0b00235e821c1157c6b4e0245417d.tar.bz2
manaplus-9ba40776e3b0b00235e821c1157c6b4e0245417d.tar.xz
manaplus-9ba40776e3b0b00235e821c1157c6b4e0245417d.zip
Fix asserts with missing default music files.
Diffstat (limited to 'src/net/ea/playerrecv.cpp')
-rw-r--r--src/net/ea/playerrecv.cpp3
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)