summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-01-07 17:40:17 +0000
committerfrosch <frosch@openttd.org>2009-01-07 17:40:17 +0000
commitcf1e926e371f91628a6048adc0d62f129a0d84ab (patch)
tree8a7545f4055397f47b4529fff6d0dc744e67dabe /src/industry_gui.cpp
parent84dee1e7389aa359ce802f5fca3f167771c44005 (diff)
downloadopenttd-cf1e926e371f91628a6048adc0d62f129a0d84ab.tar.xz
(svn r14902) -Feature: Advanced setting to keep various building tools active, which are usually closed after placing an object. (planetmaker)
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r--src/industry_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp
index 06a12febc..93a1121e1 100644
--- a/src/industry_gui.cpp
+++ b/src/industry_gui.cpp
@@ -375,7 +375,7 @@ public:
}
/* If an industry has been built, just reset the cursor and the system */
- if (success) ResetObjectToPlace();
+ if (success && !_settings_client.gui.persistent_buildingtools) ResetObjectToPlace();
}
virtual void OnTick()