equal
deleted
inserted
replaced
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) { |