equal
deleted
inserted
replaced
749 statspec = GetCustomStationSpec(sclass, station); |
749 statspec = GetCustomStationSpec(sclass, station); |
750 if (statspec == NULL) return false; |
750 if (statspec == NULL) return false; |
751 |
751 |
752 relocation = GetCustomStationRelocation(statspec, NULL, INVALID_TILE); |
752 relocation = GetCustomStationRelocation(statspec, NULL, INVALID_TILE); |
753 |
753 |
754 if (HASBIT(statspec->callbackmask, CBM_CUSTOM_LAYOUT)) { |
754 if (HASBIT(statspec->callbackmask, CBM_STATION_SPRITE_LAYOUT)) { |
755 uint16 callback = GetStationCallback(CBID_STATION_SPRITE_LAYOUT, 0x2110000, 0, statspec, NULL, INVALID_TILE); |
755 uint16 callback = GetStationCallback(CBID_STATION_SPRITE_LAYOUT, 0x2110000, 0, statspec, NULL, INVALID_TILE); |
756 if (callback != CALLBACK_FAILED) tile = callback; |
756 if (callback != CALLBACK_FAILED) tile = callback; |
757 } |
757 } |
758 |
758 |
759 if (statspec->renderdata == NULL) { |
759 if (statspec->renderdata == NULL) { |