1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-16 02:59:10 +00:00

(svn r14390) -Codechange: replace magic constants with symbolic constants.

This commit is contained in:
rubidium
2008-09-23 15:24:15 +00:00
parent ff76ef6a0a
commit 6a931d67cd
10 changed files with 19 additions and 18 deletions

View File

@@ -116,7 +116,7 @@ void Window::InvalidateWidget(byte widget_index) const
void Window::HandleButtonClick(byte widget)
{
this->LowerWidget(widget);
this->flags4 |= 5 << WF_TIMEOUT_SHL;
this->flags4 |= WF_TIMEOUT_BEGIN;
this->InvalidateWidget(widget);
}