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