diff options
Diffstat (limited to 'src/resources/mapreader.cpp')
-rw-r--r-- | src/resources/mapreader.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index d930bf083..25e9750de 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -355,6 +355,11 @@ Map *MapReader::readMap(xmlNodePtr node, const std::string &path) // map->addPortal(_("Spawn: ") + objName, MapItem::PORTAL, // objX, objY, objW, objH); } + else if (objType == "MUSIC") + { + map->addRange(objName, MapItem::MUSIC, + objX, objY, objW, objH); + } else { logger->log1(" Warning: Unknown object type"); |