Changeset - r15872:2e71a9c0f51e
[Not reviewed]
master
0 2 0
yexo - 14 years ago 2010-08-19 15:44:17
yexo@openttd.org
(svn r20564) -Fix (r20562): provide compatibility for AIs using the 0.7/1.0 API and using AIList::ChangeItem
2 files changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
bin/ai/compat_0.7.nut
Show inline comments
 
@@ -317,3 +317,5 @@ AIIndustry.IsCargoAccepted <- function(i
 
}
 

	
 
AIAbstractList <- AIList;
 

	
 
AIList.ChangeItem <- AIList.SetValue;
bin/ai/compat_1.0.nut
Show inline comments
 
@@ -68,3 +68,5 @@ AIIndustry.IsCargoAccepted <- function(i
 
}
 

	
 
AIAbstractList <- AIList;
 

	
 
AIList.ChangeItem <- AIList.SetValue;
0 comments (0 inline, 0 general)