diff options
author | rubidium <rubidium@openttd.org> | 2007-09-04 11:58:27 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-09-04 11:58:27 +0000 |
commit | 9706c32ed69f560199ea6232fb5078876912e1e9 (patch) | |
tree | eb509837e511a15770453fc1943e2b7c7180be64 /src/misc_gui.cpp | |
parent | b1effc466eac33997567e2f2e68812afb1c0a7f6 (diff) | |
download | openttd-9706c32ed69f560199ea6232fb5078876912e1e9.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.cpp | 2 |
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; |