summaryrefslogtreecommitdiff
path: root/src/misc_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-09-04 11:58:27 +0000
committerrubidium <rubidium@openttd.org>2007-09-04 11:58:27 +0000
commitbd7483ba3cdc33b753e36a4ca43ad6feea6222e1 (patch)
treeeb509837e511a15770453fc1943e2b7c7180be64 /src/misc_gui.cpp
parentd5e3e4c66e449b84982baf97a52d6ae70eb11b41 (diff)
downloadopenttd-bd7483ba3cdc33b753e36a4ca43ad6feea6222e1.tar.xz
(svn r11040) -Fix [FS#1179]: removing CMD_AUTO from some commands could remotely trigger an assertion.
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r--src/misc_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index 4af381d28..64bb1e9f1 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -396,7 +396,7 @@ static void BuildTreesWndProc(Window *w, WindowEvent *e)
case WE_PLACE_MOUSEUP:
if (e->we.place.pt.x != -1 && e->we.place.select_proc == DDSP_PLANT_TREES) {
DoCommandP(e->we.place.tile, _tree_to_plant, e->we.place.starttile, NULL,
- CMD_PLANT_TREE | CMD_AUTO | CMD_MSG(STR_2805_CAN_T_PLANT_TREE_HERE));
+ CMD_PLANT_TREE | CMD_MSG(STR_2805_CAN_T_PLANT_TREE_HERE));
}
break;