|
From: knittl <kn...@us...> - 2009-08-03 08:40:51
|
Module: performous
Branch: master
Commit: 89c2d8377b55f66526e8a0c2c271610d172fa233
Author: Lasse Karkkainen <tro...@tr...>
Date: Sat Aug 1 20:28:51 2009 +0300
Fix tracks named "PART DRUM" to DRUMS as they should be.
---
game/songparser-ini.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/game/songparser-ini.cc b/game/songparser-ini.cc
index f22d965..fb491d9 100644
--- a/game/songparser-ini.cc
+++ b/game/songparser-ini.cc
@@ -50,6 +50,7 @@ void SongParser::iniParse() {
else if (name == "T1 GEMS") name = "GUITAR"; // Some old MIDI files have a track named T1 GEMS
else if (name.substr(0, 5) != "PART ") continue;
else name.erase(0, 5);
+ if (name == "DRUM") name = "DRUMS";
// Process non-vocal tracks
if (name != "VOCALS") {
bool drums = (name == "DRUMS");
|