diff options
author | Simon Gagne <gags2431@usherbrooke.ca> | 2023-03-21 13:16:41 -0400 |
---|---|---|
committer | Simon Gagne <gags2431@usherbrooke.ca> | 2023-03-21 13:16:41 -0400 |
commit | 1a9b75fc21606d8d9ebda3092c65989b3104d775 (patch) | |
tree | cf266a792620b50540d1e1b6281d2861af846b40 /song.cpp | |
parent | 7fa3812f1297c444754f22c3141facecbda92ec7 (diff) |
Merge chart file
Diffstat (limited to 'song.cpp')
-rw-r--r-- | song.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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(); + } } |