summaryrefslogtreecommitdiff
path: root/src/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.h')
-rw-r--r--src/error.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/error.h b/src/error.h
index 438d70d96..4a78a07aa 100644
--- a/src/error.h
+++ b/src/error.h
@@ -42,6 +42,9 @@ public:
~ErrorMessageData();
ErrorMessageData(StringID summary_msg, StringID detailed_msg, uint duration = 0, int x = 0, int y = 0, uint textref_stack_size = 0, const uint32 *textref_stack = NULL);
+ /** Check whether error window shall display a company manager face */
+ bool HasFace() const { return face != INVALID_COMPANY; }
+
void SetDParam(uint n, uint64 v);
void SetDParamStr(uint n, const char *str);