Browse Source

MUS_ prefix instead of BGM_

Marcus Huderle 6 years ago
parent
commit
2567254214
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      project.cpp

+ 2
- 2
project.cpp View File

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