瀏覽代碼

MUS_ prefix instead of BGM_

Marcus Huderle 6 年之前
父節點
當前提交
2567254214
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      project.cpp

+ 2
- 2
project.cpp 查看文件

@@ -179,7 +179,7 @@ void Project::setNewMapHeader(Map* map, int mapIndex) {
179 179
     map->events_label = QString("%1_MapEvents").arg(map->name);;
180 180
     map->scripts_label = QString("%1_MapScripts").arg(map->name);;
181 181
     map->connections_label = "0x0";
182
-    map->song = "BGM_DAN02";
182
+    map->song = "MUS_DAN02";
183 183
     map->layout_id = QString("%1").arg(mapIndex);
184 184
     map->location = "0";
185 185
     map->visibility = "0";
@@ -1102,7 +1102,7 @@ QStringList Project::getSongNames() {
1102 1102
     QString text = readTextFile(root + "/include/constants/songs.h");
1103 1103
     if (!text.isNull()) {
1104 1104
         QStringList songDefinePrefixes;
1105
-        songDefinePrefixes << "SE_" << "BGM_";
1105
+        songDefinePrefixes << "SE_" << "MUS_";
1106 1106
         QMap<QString, int> songDefines = readCDefines(text, songDefinePrefixes);
1107 1107
         names = songDefines.keys();
1108 1108
     }