Files @ r6838:11a1cc4094ae
Branch filter:

Location: cpp/openttd-patchpack/source/src/music.cpp

bjarni
(svn r10077) -Fix: FS#845 Cloning Trains Longer Than 8 Units Causes Crash
The problem was that if adding units to the clone (wagon by wagon) failed, then cloning wouldn't notice it and it made two half trains
Now it detects this case and it will make cloning fail. The string with the explanation for the failed move will be used in the error message so the user will know why it failed.
/* $Id$ */

/** @file music.cpp */

#include "music.h"

const SongSpecs origin_songs_specs[NUM_SONGS_AVAILABLE] = {
	{"gm_tt00.gm", "Tycoon DELUXE Theme"},
	{"gm_tt02.gm", "Easy Driver"},
	{"gm_tt03.gm", "Little Red Diesel"},
	{"gm_tt17.gm", "Cruise Control"},
	{"gm_tt07.gm", "Don't Walk!"},
	{"gm_tt09.gm", "Fell Apart On Me"},
	{"gm_tt04.gm", "City Groove"},
	{"gm_tt19.gm", "Funk Central"},
	{"gm_tt06.gm", "Stoke It"},
	{"gm_tt12.gm", "Road Hog"},
	{"gm_tt05.gm", "Aliens Ate My Railway"},
	{"gm_tt01.gm", "Snarl Up"},
	{"gm_tt18.gm", "Stroll On"},
	{"gm_tt10.gm", "Can't Get There From Here"},
	{"gm_tt08.gm", "Sawyer's Tune"},
	{"gm_tt13.gm", "Hold That Train!"},
	{"gm_tt21.gm", "Movin' On"},
	{"gm_tt15.gm", "Goss Groove"},
	{"gm_tt16.gm", "Small Town"},
	{"gm_tt14.gm", "Broomer's Oil Rag"},
	{"gm_tt20.gm", "Jammit"},
	{"gm_tt11.gm", "Hard Drivin'"},
};