(svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
no limit to the amount of names. -Fix: NewGRF engines could not be renamed.
This commit is contained in:
@@ -109,9 +109,11 @@ struct EngineInfo {
|
||||
byte misc_flags;
|
||||
byte callbackmask;
|
||||
byte retire_early; ///< Number of years early to retire vehicle
|
||||
StringID string_id; ///< Default name of engine
|
||||
};
|
||||
|
||||
struct Engine {
|
||||
char *name; ///< Custom name of engine
|
||||
Date intro_date;
|
||||
Date age;
|
||||
uint16 reliability;
|
||||
|
Reference in New Issue
Block a user