From b42513a287232105cfac7323ca8cc75c30180e10 Mon Sep 17 00:00:00 2001 From: yexo Date: Thu, 19 Aug 2010 15:44:17 +0000 Subject: (svn r20564) -Fix (r20562): provide compatibility for AIs using the 0.7/1.0 API and using AIList::ChangeItem --- bin/ai/compat_0.7.nut | 2 ++ bin/ai/compat_1.0.nut | 2 ++ 2 files changed, 4 insertions(+) (limited to 'bin/ai') diff --git a/bin/ai/compat_0.7.nut b/bin/ai/compat_0.7.nut index 1c73183c5..06aea3f4d 100644 --- a/bin/ai/compat_0.7.nut +++ b/bin/ai/compat_0.7.nut @@ -317,3 +317,5 @@ AIIndustry.IsCargoAccepted <- function(industry_id, cargo_id) } AIAbstractList <- AIList; + +AIList.ChangeItem <- AIList.SetValue; diff --git a/bin/ai/compat_1.0.nut b/bin/ai/compat_1.0.nut index 5cda3ad74..38f67e1b9 100644 --- a/bin/ai/compat_1.0.nut +++ b/bin/ai/compat_1.0.nut @@ -68,3 +68,5 @@ AIIndustry.IsCargoAccepted <- function(industry_id, cargo_id) } AIAbstractList <- AIList; + +AIList.ChangeItem <- AIList.SetValue; -- cgit v1.2.3-54-g00ecf