diff options
author | frosch <frosch@openttd.org> | 2012-05-14 21:01:54 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-05-14 21:01:54 +0000 |
commit | 1ba36d07cf16c8501883f205e1ffb6a094a604c7 (patch) | |
tree | 8a5facbc7c4710da374738bab04a324c86f91bc9 /src/error.h | |
parent | fd6f92a4e893ff8a31df344d4b3f68d9a7ddef21 (diff) | |
download | openttd-1ba36d07cf16c8501883f205e1ffb6a094a604c7.tar.xz |
(svn r24249) -Codechange: Split the extraction of current DParams from the ErrorMessageData constructor into a separate function.
Diffstat (limited to 'src/error.h')
-rw-r--r-- | src/error.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/error.h b/src/error.h index 83ac53d84..ec083f1c6 100644 --- a/src/error.h +++ b/src/error.h @@ -41,6 +41,8 @@ public: ErrorMessageData(const ErrorMessageData &data); ~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); + + void CopyOutDParams(); }; void ShowErrorMessage(StringID summary_msg, StringID detailed_msg, WarningLevel wl, int x = 0, int y = 0, uint textref_stack_size = 0, const uint32 *textref_stack = NULL); |