Fix: Missing error messages with sell- and autoreplace-all commands. (#13469)
If these commands failed then then the error message part was blank.
This commit is contained in:
@@ -59,6 +59,20 @@ const StringID _veh_sell_msg_table[] = {
|
||||
STR_ERROR_CAN_T_SELL_AIRCRAFT,
|
||||
};
|
||||
|
||||
const StringID _veh_sell_all_msg_table[] = {
|
||||
STR_ERROR_CAN_T_SELL_ALL_TRAIN,
|
||||
STR_ERROR_CAN_T_SELL_ALL_ROAD_VEHICLE,
|
||||
STR_ERROR_CAN_T_SELL_ALL_SHIP,
|
||||
STR_ERROR_CAN_T_SELL_ALL_AIRCRAFT,
|
||||
};
|
||||
|
||||
const StringID _veh_autoreplace_msg_table[] = {
|
||||
STR_ERROR_CAN_T_AUTOREPLACE_TRAIN,
|
||||
STR_ERROR_CAN_T_AUTOREPLACE_ROAD_VEHICLE,
|
||||
STR_ERROR_CAN_T_AUTOREPLACE_SHIP,
|
||||
STR_ERROR_CAN_T_AUTOREPLACE_AIRCRAFT,
|
||||
};
|
||||
|
||||
const StringID _veh_refit_msg_table[] = {
|
||||
STR_ERROR_CAN_T_REFIT_TRAIN,
|
||||
STR_ERROR_CAN_T_REFIT_ROAD_VEHICLE,
|
||||
|
||||
Reference in New Issue
Block a user