From dd279684601cbcc099d062ebd60146d5ce9afd92 Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 14 Jan 2005 21:58:48 +0000 Subject: [PATCH] (svn r1512) Replace probably incorrect test of loading_count with probably correct test of loaded_count --- station_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/station_cmd.c b/station_cmd.c index 6ed26f585e..29b23855cf 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]; } }