diff --git a/aircraft_cmd.c b/aircraft_cmd.c --- a/aircraft_cmd.c +++ b/aircraft_cmd.c @@ -269,6 +269,8 @@ int32 CmdBuildAircraft(int x, int y, uin InvalidateWindow(WC_COMPANY, v->owner); } + InvalidateWindow(WC_REPLACE_VEHICLE, VEH_Aircraft); //updates the replace Aircraft window + return value; } @@ -322,6 +324,8 @@ int32 CmdSellAircraft(int x, int y, uint } + InvalidateWindow(WC_REPLACE_VEHICLE, VEH_Aircraft); // updates the replace Aircraft window + return -(int32)v->value; }