summaryrefslogtreecommitdiff
path: root/src/cheat_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-04 16:59:41 +0000
committerrubidium <rubidium@openttd.org>2009-02-04 16:59:41 +0000
commit42fe0b65d2826aeef9866cbdccccb38884616ba2 (patch)
tree0b2799a662a70856b0fe38c29efcafe45c25f8e4 /src/cheat_gui.cpp
parentcd9c35b84e6d3eea538368071acb3301484071e8 (diff)
downloadopenttd-42fe0b65d2826aeef9866cbdccccb38884616ba2.tar.xz
(svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company.
Diffstat (limited to 'src/cheat_gui.cpp')
-rw-r--r--src/cheat_gui.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cheat_gui.cpp b/src/cheat_gui.cpp
index ac0324682..01a2c1e91 100644
--- a/src/cheat_gui.cpp
+++ b/src/cheat_gui.cpp
@@ -46,8 +46,6 @@ static int32 ClickChangeCompanyCheat(int32 p1, int32 p2)
while ((uint)p1 < GetCompanyPoolSize()) {
if (IsValidCompanyID((CompanyID)p1)) {
SetLocalCompany((CompanyID)p1);
-
- MarkWholeScreenDirty();
return _local_company;
}
p1 += p2;