diff options
author | frosch <frosch@openttd.org> | 2010-02-28 20:25:03 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-02-28 20:25:03 +0000 |
commit | 333249ce501085405afabac8eb61a2c3ed599c0f (patch) | |
tree | 1892303233cef8b6bf22b985f142c9ef3d2bfbe6 /src/ai/api/ai_abstractlist.hpp.sq | |
parent | ac1a08ef4ad2414491b050b374714d7313373c1f (diff) | |
download | openttd-333249ce501085405afabac8eb61a2c3ed599c0f.tar.xz |
(svn r19294) -Change: [NoAI] Remove HasNext() from all lists/iterators and add IsEnd() instead.
Diffstat (limited to 'src/ai/api/ai_abstractlist.hpp.sq')
-rw-r--r-- | src/ai/api/ai_abstractlist.hpp.sq | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_abstractlist.hpp.sq b/src/ai/api/ai_abstractlist.hpp.sq index 22b8977c7..aaa8503a1 100644 --- a/src/ai/api/ai_abstractlist.hpp.sq +++ b/src/ai/api/ai_abstractlist.hpp.sq @@ -41,7 +41,7 @@ void SQAIAbstractList_Register(Squirrel *engine) SQAIAbstractList.DefSQMethod(engine, &AIAbstractList::Begin, "Begin", 1, "x"); SQAIAbstractList.DefSQMethod(engine, &AIAbstractList::Next, "Next", 1, "x"); SQAIAbstractList.DefSQMethod(engine, &AIAbstractList::IsEmpty, "IsEmpty", 1, "x"); - SQAIAbstractList.DefSQMethod(engine, &AIAbstractList::HasNext, "HasNext", 1, "x"); + SQAIAbstractList.DefSQMethod(engine, &AIAbstractList::IsEnd, "IsEnd", 1, "x"); SQAIAbstractList.DefSQMethod(engine, &AIAbstractList::Count, "Count", 1, "x"); SQAIAbstractList.DefSQMethod(engine, &AIAbstractList::GetValue, "GetValue", 2, "xi"); SQAIAbstractList.DefSQMethod(engine, &AIAbstractList::SetValue, "SetValue", 3, "xii"); |