forked from mirror/OpenTTD
(svn r17364) -Fix (r17356): off by one when selecting a subsidy
This commit is contained in:
@@ -52,7 +52,6 @@ struct SubsidyListWindow : Window {
|
|||||||
if (!IsInsideMM(y, 0, this->vscroll.cap)) return;
|
if (!IsInsideMM(y, 0, this->vscroll.cap)) return;
|
||||||
|
|
||||||
y += this->vscroll.pos;
|
y += this->vscroll.pos;
|
||||||
y--; // Skip 'subsidies on offer' line
|
|
||||||
|
|
||||||
int num = 0;
|
int num = 0;
|
||||||
const Subsidy *s;
|
const Subsidy *s;
|
||||||
|
Reference in New Issue
Block a user