From bd7483ba3cdc33b753e36a4ca43ad6feea6222e1 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 4 Sep 2007 11:58:27 +0000 Subject: (svn r11040) -Fix [FS#1179]: removing CMD_AUTO from some commands could remotely trigger an assertion. --- src/misc_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/misc_gui.cpp') 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; -- cgit v1.2.3-54-g00ecf