mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 12:39:11 +00:00
(svn r22248) -Codechange: Make OnInvalidateData() process 'delete this;' already in command scope.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user