mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-03-05 23:15:22 +00:00
use preset list size to compute initial preset rating sums, not ratings sum size.
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@1306 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
@ -118,7 +118,7 @@ void PresetLoader::rescan()
|
||||
|
||||
// Give all presets equal rating of 3 - why 3? I don't know
|
||||
_ratings = std::vector<RatingList>(TOTAL_RATING_TYPES, RatingList( _presetNames.size(), 3 ));
|
||||
_ratingsSums = std::vector<int>(2, 3 * _ratings.size());
|
||||
_ratingsSums = std::vector<int>(TOTAL_RATING_TYPES, 3 * _presetNames.size());
|
||||
|
||||
|
||||
assert ( _entries.size() == _presetNames.size() );
|
||||
|
||||
Reference in New Issue
Block a user