1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-26 16:09:10 +00:00

(svn r1512) Replace probably incorrect test of loading_count with probably correct test of loaded_count

This commit is contained in:
tron
2005-01-14 21:58:48 +00:00
parent e9a57c56b7
commit dd27968460

View File

@@ -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];
}
}