forked from mirror/OpenTTD
Codechange: Use std::string for most of the user-settable custom names.
This commit is contained in:
@@ -19,7 +19,7 @@ typedef Pool<Engine, EngineID, 64, 64000> EnginePool;
|
||||
extern EnginePool _engine_pool;
|
||||
|
||||
struct Engine : EnginePool::PoolItem<&_engine_pool> {
|
||||
char *name; ///< Custom name of engine.
|
||||
std::string name; ///< Custom name of engine.
|
||||
Date intro_date; ///< Date of introduction of the engine.
|
||||
Date age;
|
||||
uint16 reliability; ///< Current reliability of the engine.
|
||||
|
Reference in New Issue
Block a user