diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-30 22:02:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-30 22:10:17 +0300 |
commit | 4d2b3cae0ab00d1ef832f11d14bd299d6d5c2a6b (patch) | |
tree | 143a9b96bc0ad57ea90d466d70c5bc5749daf541 /src/map.cpp | |
parent | bb5d5bfd20c09952cfb3b9881b90177b0c34aac7 (diff) | |
download | mv-4d2b3cae0ab00d1ef832f11d14bd299d6d5c2a6b.tar.gz mv-4d2b3cae0ab00d1ef832f11d14bd299d6d5c2a6b.tar.bz2 mv-4d2b3cae0ab00d1ef832f11d14bd299d6d5c2a6b.tar.xz mv-4d2b3cae0ab00d1ef832f11d14bd299d6d5c2a6b.zip |
add support for temporary replace background music on given map by server.
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map.cpp b/src/map.cpp index 5188da985..e4ab0c60f 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -1631,3 +1631,8 @@ void Map::setMask(const int mask) mRedrawMap = true; mMask = mask; } + +void Map::setMusicFile(const std::string &file) +{ + setProperty("music", file); +} |