|
From: Yoda-JM <yo...@us...> - 2009-11-07 18:38:29
|
Module: performous
Branch: master
Commit: 232a3e1f57c414faeb6479d1d18b1aa4a28ec5d2
Author: Vincent Le Ligeour <yo...@us...>
Date: Sat Nov 7 19:37:02 2009 +0100
Applied Spruit_elf hack for properfly parsing multiplayer txt files
---
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 5204204..9ba1c67 100644
--- a/game/songparser-txt.cc
+++ b/game/songparser-txt.cc
@@ -85,6 +85,7 @@ bool SongParser::txtParseNote(std::string line) {
addBPM(ts, bpm);
return true;
}
+ if (line[0] == 'P') return true; //We ignore player information for now (multiplayer hack)
Note n;
n.type = Note::Type(iss.get());
unsigned int ts = m_prevts;
|