equal
deleted
inserted
replaced
5735 strid = GetGRFStringID(indsp->grf_prop.grffile->grfid, indsp->new_industry_text); |
5735 strid = GetGRFStringID(indsp->grf_prop.grffile->grfid, indsp->new_industry_text); |
5736 if (strid != STR_UNDEFINED) indsp->new_industry_text = strid; |
5736 if (strid != STR_UNDEFINED) indsp->new_industry_text = strid; |
5737 |
5737 |
5738 if (indsp->station_name != STR_NULL) { |
5738 if (indsp->station_name != STR_NULL) { |
5739 /* STR_NULL (0) can be set by grf. It has a meaning regarding assignation of the |
5739 /* STR_NULL (0) can be set by grf. It has a meaning regarding assignation of the |
5740 * station's name. Don't wont to loose the value, therefor, do not process. */ |
5740 * station's name. Don't want to lose the value, therefore, do not process. */ |
5741 strid = GetGRFStringID(indsp->grf_prop.grffile->grfid, indsp->station_name); |
5741 strid = GetGRFStringID(indsp->grf_prop.grffile->grfid, indsp->station_name); |
5742 if (strid != STR_UNDEFINED) indsp->station_name = strid; |
5742 if (strid != STR_UNDEFINED) indsp->station_name = strid; |
5743 } |
5743 } |
5744 |
5744 |
5745 _industry_mngr.SetEntitySpec(indsp); |
5745 _industry_mngr.SetEntitySpec(indsp); |