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:
@@ -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];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user