changeset 7425 | d9bc116f2f54 |
parent 7398 | b933416cf32b |
child 7490 | bb27d92565d3 |
--- a/src/aircraft_cmd.cpp Tue Aug 07 20:42:02 2007 +0000 +++ b/src/aircraft_cmd.cpp Tue Aug 07 23:07:10 2007 +0000 @@ -452,7 +452,7 @@ RebuildVehicleLists(); InvalidateWindow(WC_COMPANY, v->owner); if (IsLocalPlayer()) - InvalidateAutoreplaceWindow(VEH_AIRCRAFT, v->group_id); //updates the replace Aircraft window + InvalidateAutoreplaceWindow(v->engine_type, v->group_id); //updates the replace Aircraft window GetPlayer(_current_player)->num_engines[p1]++; }