diff options
author | smatz <smatz@openttd.org> | 2008-04-05 12:30:48 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-04-05 12:30:48 +0000 |
commit | d977461d1004102e19a210b26d5080475aff62f8 (patch) | |
tree | b66c7233dabde3a59d051be755cd8efb4f82f2fc | |
parent | 5eb5889954e571c4b3d75e572667b867f12835e5 (diff) | |
download | openttd-d977461d1004102e19a210b26d5080475aff62f8.tar.xz |
(svn r12579) -Change: reset cursor when the Plant trees GUI is opened
-rw-r--r-- | src/misc_gui.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 705d6e9ef..59d3d779c 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -337,6 +337,10 @@ static const PalSpriteID _tree_sprites[] = { static void BuildTreesWndProc(Window *w, WindowEvent *e) { switch (e->event) { + case WE_CREATE: + ResetObjectToPlace(); + break; + case WE_PAINT: { DrawWindowWidgets(w); |