diff options
Diffstat (limited to 'src')
-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); |