|
From: Yoda-JM <yo...@us...> - 2009-08-17 14:13:46
|
Module: performous
Branch: master
Commit: 4ca4995ee33da96ef2cb7b48c70a626126ff80d9
Author: Vincent Le Ligeour <yo...@us...>
Date: Mon Aug 17 15:08:56 2009 +0200
Added #VOCALS parsing (always play it when present)
---
game/songparser-txt.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/game/songparser-txt.cc b/game/songparser-txt.cc
index 721f167..cd8743b 100644
--- a/game/songparser-txt.cc
+++ b/game/songparser-txt.cc
@@ -54,6 +54,7 @@ bool SongParser::txtParseField(std::string const& line) {
else if (key == "CREATOR") m_song.creator = value.substr(value.find_first_not_of(" "));
else if (key == "COVER") m_song.cover = value;
else if (key == "MP3") m_song.music.push_back(m_song.path + value);
+ else if (key == "VOCALS") m_song.music.push_back(m_song.path + value);
else if (key == "VIDEO") m_song.video = value;
else if (key == "BACKGROUND") m_song.background = value;
else if (key == "START") assign(m_song.start, value);
|