|
From: Yoda-JM <yo...@us...> - 2010-10-19 09:41:26
|
Module: performous
Branch: master
Commit: 052aa59e436fd5e457540432d3c384941a9e2ae3
Author: Vincent Le Ligeour <yo...@us...>
Date: Tue Oct 19 11:43:43 2010 +0200
Fixed error in previous commit (thank you gcc warning message)
---
game/song.hh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/game/song.hh b/game/song.hh
index c592271..3250442 100644
--- a/game/song.hh
+++ b/game/song.hh
@@ -74,7 +74,7 @@ class Song: boost::noncopyable {
return vocalTracks.find(TrackName::LEAD_VOCAL)->second;
} else {
if(!vocalTracks.empty()) {
- vocalTracks.begin()->second;
+ return vocalTracks.begin()->second;
} else {
return dummyVocal;
}
|