diff options
author | rubidium <rubidium@openttd.org> | 2009-09-01 22:38:18 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-09-01 22:38:18 +0000 |
commit | b13eccb105aa90ffc6dc136dbec58961adc58abf (patch) | |
tree | 8a99304465aec7d277027f8c2459cae06d200cae | |
parent | 6b2ff71e2c44897fcc6abbb125259823a85ed1d4 (diff) | |
download | openttd-b13eccb105aa90ffc6dc136dbec58961adc58abf.tar.xz |
(svn r17364) -Fix (r17356): off by one when selecting a subsidy
-rw-r--r-- | src/subsidy_gui.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/subsidy_gui.cpp b/src/subsidy_gui.cpp index aa7ec1e7e..a57f87584 100644 --- a/src/subsidy_gui.cpp +++ b/src/subsidy_gui.cpp @@ -52,7 +52,6 @@ struct SubsidyListWindow : Window { if (!IsInsideMM(y, 0, this->vscroll.cap)) return; y += this->vscroll.pos; - y--; // Skip 'subsidies on offer' line int num = 0; const Subsidy *s; |