From 3cd6bf0ead727d93e1b7850b8a11511603d9c092 Mon Sep 17 00:00:00 2001 From: truebrain Date: Wed, 14 Jan 2009 18:25:48 +0000 Subject: (svn r15084) -Fix [NoAI] (r15027): by removing the threads for NoAIs, it is no longer possible to use DoCommand (even indirect) in AIAbstractList::Valuator(). --- src/ai/api/ai_object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ai/api/ai_object.cpp') diff --git a/src/ai/api/ai_object.cpp b/src/ai/api/ai_object.cpp index 55ca4dfed..1ae5b4fd0 100644 --- a/src/ai/api/ai_object.cpp +++ b/src/ai/api/ai_object.cpp @@ -198,7 +198,7 @@ int AIObject::GetCallbackVariable(int index) bool AIObject::DoCommand(TileIndex tile, uint32 p1, uint32 p2, uint cmd, const char *text, AISuspendCallbackProc *callback) { if (AIObject::GetAllowDoCommand() == false) { - AILog::Error("You are not allowed to execute any DoCommand (even indirect) in your constructor, Save(), and Load().\n"); + AILog::Error("You are not allowed to execute any DoCommand (even indirect) in your constructor, Save(), Load(), and any valuator.\n"); return false; } -- cgit v1.2.3-54-g00ecf