mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-07 06:46:43 +00:00
(svn r12579) -Change: reset cursor when the Plant trees GUI is opened
This commit is contained in:
parent
5eb5889954
commit
d977461d10
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user