diff options
author | frosch <frosch@openttd.org> | 2011-03-13 21:34:49 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-03-13 21:34:49 +0000 |
commit | 141f2eba50aa0e475a49610b05c00d0f549ae53f (patch) | |
tree | b03abd16f0ccf523b391661001cfb78994f2b336 /src/network | |
parent | 652c9cb6635cc5f72a32077fdcd4e0f4bcc859e0 (diff) | |
download | openttd-141f2eba50aa0e475a49610b05c00d0f549ae53f.tar.xz |
(svn r22248) -Codechange: Make OnInvalidateData() process 'delete this;' already in command scope.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_chat_gui.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/network/network_chat_gui.cpp b/src/network/network_chat_gui.cpp index ac7045d8c..6a2c768aa 100644 --- a/src/network/network_chat_gui.cpp +++ b/src/network/network_chat_gui.cpp @@ -538,7 +538,6 @@ struct NetworkChatWindow : public QueryStringBaseWindow { */ virtual void OnInvalidateData(int data = 0, bool gui_scope = true) { - if (!gui_scope) return; if (data == this->dest) delete this; } }; |