From 400208ee0afd84f1e9ddf1ab851e34a87b3e98c0 Mon Sep 17 00:00:00 2001 From: yexo Date: Sat, 28 Mar 2009 12:04:38 +0000 Subject: (svn r15875) -Add: AIBridge::GetBridgeID() so AIs can get the type of bridge that are already build. --- bin/ai/regression/regression.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/ai/regression/regression.txt') diff --git a/bin/ai/regression/regression.txt b/bin/ai/regression/regression.txt index cf105624c..3eefdd3fb 100644 --- a/bin/ai/regression/regression.txt +++ b/bin/ai/regression/regression.txt @@ -743,12 +743,15 @@ GetMinLength(): -1 Valid Bridges: 10 IsBridgeTile(): false + GetBridgeID(): -1 RemoveBridge(): false GetLastErrorString(): ERR_PRECONDITION_FAILED GetOtherBridgeEnd(): -1 BuildBridge(): true IsBridgeTile(): true + GetBridgeID(): 5 IsBridgeTile(): true + GetBridgeID(): 5 GetOtherBridgeEnd(): 33155 BuildBridge(): false GetLastErrorString(): ERR_ALREADY_BUILT -- cgit v1.2.3-54-g00ecf