(svn r12579) -Change: reset cursor when the Plant trees GUI is opened
This commit is contained in:
@@ -337,6 +337,10 @@ static const PalSpriteID _tree_sprites[] = {
|
|||||||
static void BuildTreesWndProc(Window *w, WindowEvent *e)
|
static void BuildTreesWndProc(Window *w, WindowEvent *e)
|
||||||
{
|
{
|
||||||
switch (e->event) {
|
switch (e->event) {
|
||||||
|
case WE_CREATE:
|
||||||
|
ResetObjectToPlace();
|
||||||
|
break;
|
||||||
|
|
||||||
case WE_PAINT: {
|
case WE_PAINT: {
|
||||||
DrawWindowWidgets(w);
|
DrawWindowWidgets(w);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user