summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/station_cmd.c b/station_cmd.c
index 6ed26f585..29b23855c 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -1154,7 +1154,7 @@ uint32 GetCustomStationRelocation(struct StationSpec *spec, struct Station *stat
if (rsg->sprites_per_set != 0) {
if (rsg->loading_count != 0) {
return rsg->loading[0];
- } else if (rsg->loading_count != 0) {
+ } else if (rsg->loaded_count != 0) {
return rsg->loaded[0];
}
}