Parcourir la source

MUS_ prefix instead of BGM_

Marcus Huderle il y a 6 ans
Parent
révision
2567254214
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      project.cpp

+ 2
- 2
project.cpp Voir le fichier

@@ -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
     }