summaryrefslogtreecommitdiff
path: root/src/misc_cmd.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-04-02 17:35:20 +0000
committeryexo <yexo@openttd.org>2010-04-02 17:35:20 +0000
commit81657379392e34031d91496d7fba5e235c248501 (patch)
treeaa2b40f829513b5dde971fb3f5819a117d70ed9a /src/misc_cmd.cpp
parent1cab5539943e14a57497db6519f5eef4187f4ea0 (diff)
downloadopenttd-81657379392e34031d91496d7fba5e235c248501.tar.xz
(svn r19544) -Feature [FS#3496]: add an input box to the AI Debug window where you can input a break string (patch by Zuu)
Diffstat (limited to 'src/misc_cmd.cpp')
-rw-r--r--src/misc_cmd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/misc_cmd.cpp b/src/misc_cmd.cpp
index 688f15a25..9d1f9c71e 100644
--- a/src/misc_cmd.cpp
+++ b/src/misc_cmd.cpp
@@ -173,6 +173,7 @@ CommandCost CmdPause(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 p2,
} else {
_pause_mode = _pause_mode | p1;
}
+ InvalidateWindowClassesData(WC_AI_DEBUG, -2);
#ifdef ENABLE_NETWORK
NetworkHandlePauseChange(prev_mode, (PauseMode)p1);