mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-26 16:09:10 +00:00
(svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field.
This commit is contained in:
@@ -693,7 +693,7 @@ public:
|
||||
{
|
||||
this->vscroll.cap += delta.y / (int)this->resize.step_height;
|
||||
|
||||
this->widget[NCLWW_MATRIX].data = (this->vscroll.cap << 8) + 1;
|
||||
this->widget[NCLWW_MATRIX].data = (this->vscroll.cap << MAT_ROW_START) + (1 << MAT_COL_START);
|
||||
|
||||
SetVScrollCount(this, this->content.Length());
|
||||
|
||||
|
@@ -722,7 +722,7 @@ public:
|
||||
{
|
||||
this->vscroll.cap += delta.y / (int)this->resize.step_height;
|
||||
|
||||
this->widget[NGWW_MATRIX].data = (this->vscroll.cap << 8) + 1;
|
||||
this->widget[NGWW_MATRIX].data = (this->vscroll.cap << MAT_ROW_START) + (1 << MAT_COL_START);
|
||||
|
||||
SetVScrollCount(this, this->servers.Length());
|
||||
|
||||
|
Reference in New Issue
Block a user