(svn r1109) Fix c&p bug: In vehicle lists a name was displayed for road vehicles even if they had none
authortron
Wed, 15 Dec 2004 21:25:33 +0000
changeset 671 6f1d8c908156
parent 670 d164965bb35a
child 672 9089c74ba6c9
(svn r1109) Fix c&p bug: In vehicle lists a name was displayed for road vehicles even if they had none
roadveh_gui.c
--- a/roadveh_gui.c	Wed Dec 15 21:13:52 2004 +0000
+++ b/roadveh_gui.c	Wed Dec 15 21:25:33 2004 +0000
@@ -795,7 +795,7 @@
 			SetDParam(1, v->profit_last_year);
 			DrawString(x + 24, y + 18, STR_0198_PROFIT_THIS_YEAR_LAST_YEAR, 0);
 
-			if (v->string_id != STR_SV_TRAIN_NAME) {
+			if (v->string_id != STR_SV_ROADVEH_NAME) {
 				SetDParam(0, v->string_id);
 				DrawString(x + 24, y, STR_01AB, 0);
 			}