summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp5
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);
+}