diff options
author | peter1138 <peter1138@openttd.org> | 2008-01-12 19:58:06 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-01-12 19:58:06 +0000 |
commit | ab8382c0db353d9d1ba6b7a9690d56aa2415258c (patch) | |
tree | f23fb584e594e0c9ff5a9ad650d97c493714078d /src/vehicle_base.h | |
parent | a222fe2e86d2736217f3bba43b28e95297b8d71e (diff) | |
download | openttd-ab8382c0db353d9d1ba6b7a9690d56aa2415258c.tar.xz |
(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.
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r-- | src/vehicle_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h index 9e630e0ea..f6eedf51a 100644 --- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -201,7 +201,7 @@ public: Vehicle *depot_list; // NOSAVE: linked list to tell what vehicles entered a depot during the last tick. Used by autoreplace - StringID string_id; // Displayed string + char *name; ///< Name of vehicle UnitID unitnumber; // unit number, for display purposes only PlayerByte owner; // which player owns the vehicle? |