# HG changeset patch # User tron # Date 2005-01-14 21:58:48 # Node ID 16492975a9169a0e421a3e3b7ee5b5fc606b82da # Parent 51e33a299a51bc2ab3d1b595bd23273c0f30c353 (svn r1512) Replace probably incorrect test of loading_count with probably correct test of loaded_count diff --git a/station_cmd.c b/station_cmd.c --- a/station_cmd.c +++ b/station_cmd.c @@ -1154,7 +1154,7 @@ uint32 GetCustomStationRelocation(struct 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]; } }