(svn r12579) -Change: reset cursor when the Plant trees GUI is opened

This commit is contained in:
smatz 2008-04-05 12:30:48 +00:00
parent 5eb5889954
commit d977461d10
1 changed files with 4 additions and 0 deletions

View File

@ -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);