vehicle_gui.c
changeset 4835 c885511caff1
parent 4776 c798a32e8bc7
child 4863 c178519a8627
--- a/vehicle_gui.c	Thu Oct 12 15:13:40 2006 +0000
+++ b/vehicle_gui.c	Thu Oct 12 15:38:37 2006 +0000
@@ -516,17 +516,13 @@
 	char buf1[64] = "\0";
 	int r;
 
-	if (va->string_id != _internal_name_sorter_id) {
-		SetDParam(0, va->string_id);
-		GetString(buf1, STR_JUST_STRING);
-	}
+	if (va->string_id != _internal_name_sorter_id) GetString(buf1, va->string_id);
 
 	if (vb != _last_vehicle) {
 		_last_vehicle = vb;
 		_bufcache[0] = '\0';
 		if (vb->string_id != _internal_name_sorter_id) {
-			SetDParam(0, vb->string_id);
-			GetString(_bufcache, STR_JUST_STRING);
+			GetString(_bufcache, vb->string_id);
 		}
 	}