changeset 7921 | f99d5c351e75 |
parent 7917 | 6a6eb0dec86a |
child 7946 | e53b2f085489 |
--- a/src/roadveh_cmd.cpp Tue Aug 07 20:42:02 2007 +0000 +++ b/src/roadveh_cmd.cpp Tue Aug 07 23:07:10 2007 +0000 @@ -270,7 +270,7 @@ RebuildVehicleLists(); InvalidateWindow(WC_COMPANY, v->owner); if (IsLocalPlayer()) - InvalidateAutoreplaceWindow(VEH_ROAD, v->group_id); // updates the replace Road window + InvalidateAutoreplaceWindow(v->engine_type, v->group_id); // updates the replace Road window GetPlayer(_current_player)->num_engines[p1]++; }