diff options
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/api/ai_object.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ai/api/ai_object.cpp b/src/ai/api/ai_object.cpp index e137faf1e..ed36719c6 100644 --- a/src/ai/api/ai_object.cpp +++ b/src/ai/api/ai_object.cpp @@ -214,7 +214,6 @@ bool AIObject::DoCommand(TileIndex tile, uint32 p1, uint32 p2, uint cmd, const c /* We failed; set the error and bail out */ if (res.Failed()) { - res.SetGlobalErrorMessage(); SetLastError(AIError::StringToError(res.GetErrorMessage())); return false; } |