summaryrefslogtreecommitdiff
path: root/song.cpp
diff options
context:
space:
mode:
authorSimon Gagne <gags2431@usherbrooke.ca>2023-03-21 13:16:41 -0400
committerSimon Gagne <gags2431@usherbrooke.ca>2023-03-21 13:16:41 -0400
commit1a9b75fc21606d8d9ebda3092c65989b3104d775 (patch)
treecf266a792620b50540d1e1b6281d2861af846b40 /song.cpp
parent7fa3812f1297c444754f22c3141facecbda92ec7 (diff)
Merge chart file
Diffstat (limited to 'song.cpp')
-rw-r--r--song.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/song.cpp b/song.cpp
index 9ac5f91..84c962d 100644
--- a/song.cpp
+++ b/song.cpp
@@ -323,8 +323,11 @@ std::string Song::getAudioFile(){
void Song::trim(int difficulty){
// TODO: make this fuction use the difficulty parameter
- std::vector<ChordNote>*chords = &expert;
- chords->trim();
+ //std::vector<ChordNote> *chords = &expert;
+ for (int i = 0; i < expert.size(); i++)
+ {
+ expert[i].trim();
+ }
}