|
From: Tapio V. <aa...@us...> - 2010-01-13 07:25:23
|
Module: performous
Branch: master
Commit: f1e739be96e350a3f63ea7bc90c6b4891f81e702
Author: Tapio Vierros <tap...@gm...>
Date: Wed Jan 13 08:40:45 2010 +0200
Fixed broken patch.
---
game/songparser-sm.cc | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/game/songparser-sm.cc b/game/songparser-sm.cc
index c1281ba..85229ca 100644
--- a/game/songparser-sm.cc
+++ b/game/songparser-sm.cc
@@ -118,8 +118,9 @@ bool SongParser::smParseField(std::string line) {
//Here all note data from the current track is inserted into containers
// TODO: support other track types. For now all others are simply ignored.
- if (notestype == "dance-single" || notestype == "dance-double" || "dance-solo"
- || "pump-single" || "ez2-single" || "ez2-real" || "para-single") {
+ if (notestype == "dance-single" || notestype == "dance-double" || notestype == "dance-solo"
+ || notestype == "pump-single" || notestype == "ez2-single" || notestype == "ez2-real"
+ || notestype == "para-single") {
DanceTrack danceTrack(description, notes);
if (m_song.danceTracks.find(notestype) == m_song.danceTracks.end() ) {
DanceDifficultyMap danceDifficultyMap;
|