src/newgrf_station.cpp
branchNewGRF_ports
changeset 6870 ca3fd1fbe311
parent 6868 7eb395287b3d
child 6871 5a9dc001e1ad
equal deleted inserted replaced
6869:76282d3b748d 6870:ca3fd1fbe311
   750 	statspec = GetCustomStationSpec(sclass, station);
   750 	statspec = GetCustomStationSpec(sclass, station);
   751 	if (statspec == NULL) return false;
   751 	if (statspec == NULL) return false;
   752 
   752 
   753 	relocation = GetCustomStationRelocation(statspec, NULL, INVALID_TILE);
   753 	relocation = GetCustomStationRelocation(statspec, NULL, INVALID_TILE);
   754 
   754 
   755 	if (HASBIT(statspec->callbackmask, CBM_CUSTOM_LAYOUT)) {
   755 	if (HASBIT(statspec->callbackmask, CBM_STATION_SPRITE_LAYOUT)) {
   756 		uint16 callback = GetStationCallback(CBID_STATION_SPRITE_LAYOUT, 0x2110000, 0, statspec, NULL, INVALID_TILE);
   756 		uint16 callback = GetStationCallback(CBID_STATION_SPRITE_LAYOUT, 0x2110000, 0, statspec, NULL, INVALID_TILE);
   757 		if (callback != CALLBACK_FAILED) tile = callback;
   757 		if (callback != CALLBACK_FAILED) tile = callback;
   758 	}
   758 	}
   759 
   759 
   760 	if (statspec->renderdata == NULL) {
   760 	if (statspec->renderdata == NULL) {