changeset 15882:a7597c21c962 draft

(svn r20564) -Fix (r20562): provide compatibility for AIs using the 0.7/1.0 API and using AIList::ChangeItem
author yexo <yexo@openttd.org>
date Thu, 19 Aug 2010 15:44:17 +0000
parents 75df4bf4f199
children 87ab2476279f
files bin/ai/compat_0.7.nut bin/ai/compat_1.0.nut
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/bin/ai/compat_0.7.nut
+++ b/bin/ai/compat_0.7.nut
@@ -317,3 +317,5 @@
 }
 
 AIAbstractList <- AIList;
+
+AIList.ChangeItem <- AIList.SetValue;
--- a/bin/ai/compat_1.0.nut
+++ b/bin/ai/compat_1.0.nut
@@ -68,3 +68,5 @@
 }
 
 AIAbstractList <- AIList;
+
+AIList.ChangeItem <- AIList.SetValue;