|
|
@ -655,7 +655,9 @@ SpriteID GetCustomStationGroundRelocation(const StationSpec *statspec, const Sta
|
|
|
|
ResolverObject object;
|
|
|
|
ResolverObject object;
|
|
|
|
|
|
|
|
|
|
|
|
NewStationResolver(&object, statspec, st, tile);
|
|
|
|
NewStationResolver(&object, statspec, st, tile);
|
|
|
|
|
|
|
|
if (HasBit(statspec->flags, SSF_SEPARATE_GROUND)) {
|
|
|
|
object.callback_param1 = 1; // Indicate we are resolving the ground sprite
|
|
|
|
object.callback_param1 = 1; // Indicate we are resolving the ground sprite
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
group = ResolveStation(&object);
|
|
|
|
group = ResolveStation(&object);
|
|
|
|
if (group == NULL || group->type != SGT_RESULT) return 0;
|
|
|
|
if (group == NULL || group->type != SGT_RESULT) return 0;
|
|
|
|