mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 06:15:04 +00:00
(svn r20564) -Fix (r20562): provide compatibility for AIs using the 0.7/1.0 API and using AIList::ChangeItem
This commit is contained in:
parent
dc303e550b
commit
b42513a287
@ -317,3 +317,5 @@ AIIndustry.IsCargoAccepted <- function(industry_id, cargo_id)
|
||||
}
|
||||
|
||||
AIAbstractList <- AIList;
|
||||
|
||||
AIList.ChangeItem <- AIList.SetValue;
|
||||
|
@ -68,3 +68,5 @@ AIIndustry.IsCargoAccepted <- function(industry_id, cargo_id)
|
||||
}
|
||||
|
||||
AIAbstractList <- AIList;
|
||||
|
||||
AIList.ChangeItem <- AIList.SetValue;
|
||||
|
Loading…
Reference in New Issue
Block a user