mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-08 23:19:40 +00:00
(svn r1512) Replace probably incorrect test of loading_count with probably correct test of loaded_count
This commit is contained in:
parent
e9a57c56b7
commit
dd27968460
@ -1154,7 +1154,7 @@ uint32 GetCustomStationRelocation(struct StationSpec *spec, struct Station *stat
|
|||||||
if (rsg->sprites_per_set != 0) {
|
if (rsg->sprites_per_set != 0) {
|
||||||
if (rsg->loading_count != 0) {
|
if (rsg->loading_count != 0) {
|
||||||
return rsg->loading[0];
|
return rsg->loading[0];
|
||||||
} else if (rsg->loading_count != 0) {
|
} else if (rsg->loaded_count != 0) {
|
||||||
return rsg->loaded[0];
|
return rsg->loaded[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user