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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user