(svn r17364) -Fix (r17356): off by one when selecting a subsidy

This commit is contained in:
rubidium 2009-09-01 22:38:18 +00:00
parent a79be4de27
commit 123c44137a

View File

@ -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;