diff options
-rw-r--r-- | src/newgrf_station.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/newgrf_station.cpp b/src/newgrf_station.cpp index e961dd87c..57384b102 100644 --- a/src/newgrf_station.cpp +++ b/src/newgrf_station.cpp @@ -655,7 +655,9 @@ SpriteID GetCustomStationGroundRelocation(const StationSpec *statspec, const Sta ResolverObject object; NewStationResolver(&object, statspec, st, tile); - object.callback_param1 = 1; // Indicate we are resolving the ground sprite + if (HasBit(statspec->flags, SSF_SEPARATE_GROUND)) { + object.callback_param1 = 1; // Indicate we are resolving the ground sprite + } group = ResolveStation(&object); if (group == NULL || group->type != SGT_RESULT) return 0; |