src/newgrf.cpp
changeset 8127 0cbf1d4a5f6d
parent 8126 ff006fa6d1ab
child 8129 7d673f9710c2
equal deleted inserted replaced
8126:ff006fa6d1ab 8127:0cbf1d4a5f6d
  1770 			case 0x0A: // Tile acceptance
  1770 			case 0x0A: // Tile acceptance
  1771 			case 0x0B:
  1771 			case 0x0B:
  1772 			case 0x0C: {
  1772 			case 0x0C: {
  1773 				uint16 acctp = grf_load_word(&buf);
  1773 				uint16 acctp = grf_load_word(&buf);
  1774 				tsp->accepts_cargo[prop - 0x0A] = GetCargoTranslation(GB(acctp, 0, 8), _cur_grffile);
  1774 				tsp->accepts_cargo[prop - 0x0A] = GetCargoTranslation(GB(acctp, 0, 8), _cur_grffile);
  1775 				tsp->acceptance[prop - 0x0A] = GetCargoTranslation(GB(acctp, 8, 8), _cur_grffile);
  1775 				tsp->acceptance[prop - 0x0A] = GB(acctp, 8, 8);
  1776 			} break;
  1776 			} break;
  1777 
  1777 
  1778 			case 0x0D: // Land shape flags
  1778 			case 0x0D: // Land shape flags
  1779 				tsp->slopes_refused = (Slope)grf_load_byte(&buf);
  1779 				tsp->slopes_refused = (Slope)grf_load_byte(&buf);
  1780 				break;
  1780 				break;