From df0afdf0dca6b3d4f621248ada2aed73d7481c66 Mon Sep 17 00:00:00 2001 From: truebrain Date: Thu, 15 Dec 2011 19:54:23 +0000 Subject: (svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, with only values known in WindowFlags (and move out 2 timers to their own variable) -Codechange: rename Window::flags4 to Window::flags -Codechange: move some non-inline functions from .hpp to .cpp --- src/tree_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tree_gui.cpp') diff --git a/src/tree_gui.cpp b/src/tree_gui.cpp index e91675ae5..76f254dda 100644 --- a/src/tree_gui.cpp +++ b/src/tree_gui.cpp @@ -151,7 +151,7 @@ public: case BTW_MANY_RANDOM: // place trees randomly over the landscape this->LowerWidget(BTW_MANY_RANDOM); - this->flags4 |= WF_TIMEOUT_BEGIN; + this->SetTimeout(); SndPlayFx(SND_15_BEEP); PlaceTreesRandomly(); MarkWholeScreenDirty(); -- cgit v1.2.3-54-g00ecf