diff options
author | tron <tron@openttd.org> | 2005-01-14 21:58:48 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-14 21:58:48 +0000 |
commit | 412cf98eb4c8ff8619fa2cca353d1f92be3cbbe2 (patch) | |
tree | 2108a94068943cb471d34182506cf8c9b34bc94a | |
parent | b33df5936fd09eaab1ae6dccde0768e3197c8888 (diff) | |
download | openttd-412cf98eb4c8ff8619fa2cca353d1f92be3cbbe2.tar.xz |
(svn r1512) Replace probably incorrect test of loading_count with probably correct test of loaded_count
-rw-r--r-- | station_cmd.c | 2 |
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]; } } |