Changeset - r13830:3dfd658d1029
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-12-02 08:55:53
rubidium@openttd.org
(svn r18369) -Fix [FS#3339] (rbeginning): off-by-one in the preconfigured music lists
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/music_gui.cpp
Show inline comments
 
@@ -32,21 +32,21 @@ static byte _cur_playlist[NUM_SONGS_PLAY
 

	
 
static byte _playlist_all[] = {
 
	1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 0
 
};
 

	
 
static byte _playlist_old_style[] = {
 
	1, 8, 2, 9, 14, 15, 19, 13, 0
 
	2, 9, 3, 10, 15, 16, 20, 14, 0
 
};
 

	
 
static byte _playlist_new_style[] = {
 
	6, 11, 10, 17, 21, 18, 5, 0
 
	7, 12, 11, 18, 22, 19, 6, 0
 
};
 

	
 
static byte _playlist_ezy_street[] = {
 
	12, 7, 16, 3, 20, 4, 0
 
	13, 8, 17, 4, 21, 5, 0
 
};
 

	
 
static byte * const _playlists[] = {
 
	_playlist_all,
 
	_playlist_old_style,
 
	_playlist_new_style,
0 comments (0 inline, 0 general)