From ab8382c0db353d9d1ba6b7a9690d56aa2415258c Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sat, 12 Jan 2008 19:58:06 +0000 Subject: (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. --- src/vehicle_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vehicle_base.h') 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? -- cgit v1.2.3-54-g00ecf