src/roadveh_cmd.cpp
changeset 7096 9b231813f232
parent 7080 f94ff65485b5
child 7134 5b2d47128d05
--- a/src/roadveh_cmd.cpp	Wed Jun 27 19:00:14 2007 +0000
+++ b/src/roadveh_cmd.cpp	Wed Jun 27 20:40:20 2007 +0000
@@ -269,7 +269,7 @@
 		RebuildVehicleLists();
 		InvalidateWindow(WC_COMPANY, v->owner);
 		if (IsLocalPlayer())
-			InvalidateAutoreplaceWindow(VEH_ROAD); // updates the replace Road window
+			InvalidateAutoreplaceWindow(VEH_ROAD, v->group_id); // updates the replace Road window
 
 		GetPlayer(_current_player)->num_engines[p1]++;
 	}