src/vehicle_gui.cpp
changeset 9157 b1c6c3ace486
parent 9134 618bee700fe7
child 9158 04fe70dfe028
--- a/src/vehicle_gui.cpp	Fri Feb 29 22:55:57 2008 +0000
+++ b/src/vehicle_gui.cpp	Sat Mar 01 23:53:58 2008 +0000
@@ -561,7 +561,7 @@
 
 	if (vb != last_vehicle[1]) {
 		last_vehicle[1] = vb;
-		SetDParam(1, vb->index);
+		SetDParam(0, vb->index);
 		GetString(last_name[1], STR_VEHICLE_NAME, lastof(last_name[1]));
 	}