mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-27 15:39:32 +01:00
(svn r23035) -Fix (r23034): compile failure
This commit is contained in:
parent
0656660f22
commit
99ed5eb7c5
@ -82,7 +82,7 @@ static byte * const _playlists[] = {
|
|||||||
* @param playlist The playlist to validate.
|
* @param playlist The playlist to validate.
|
||||||
* @param last The last location in the list.
|
* @param last The last location in the list.
|
||||||
*/
|
*/
|
||||||
void ValidatePlaylist(byte *playlist, const byte *last)
|
void ValidatePlaylist(byte *playlist, byte *last)
|
||||||
{
|
{
|
||||||
while (*playlist != 0 && playlist <= last) {
|
while (*playlist != 0 && playlist <= last) {
|
||||||
/* Song indices are saved off-by-one so 0 is "nothing". */
|
/* Song indices are saved off-by-one so 0 is "nothing". */
|
||||||
|
Loading…
Reference in New Issue
Block a user