summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 57abbb8ae..9f4048769 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -2678,7 +2678,12 @@ draw_default_foundation:
}
} else {
if (HasBit(image, SPRITE_MODIFIER_CUSTOM_SPRITE)) {
- image += GetCustomStationGroundRelocation(statspec, st, ti->tile);
+ if (HasBit(statspec->flags, SSF_SEPARATE_GROUND)) {
+ /* Use separate action 1-2-3 chain for ground sprite */
+ image += GetCustomStationRelocation(statspec, st, ti->tile, 1);
+ } else {
+ image += relocation;
+ }
image += custom_ground_offset;
} else {
image += total_offset;