diff options
author | maedhros <maedhros@openttd.org> | 2007-01-23 10:21:51 +0000 |
---|---|---|
committer | maedhros <maedhros@openttd.org> | 2007-01-23 10:21:51 +0000 |
commit | 75e7b2e6df40f959371ee3f5859f2dddf224f8fe (patch) | |
tree | 38c583b82db7338ff5c5f1c99dcb46c95cce7952 /src/water_cmd.cpp | |
parent | 294723d03f3e1ff8a79390f4b90f9096665041e4 (diff) | |
download | openttd-75e7b2e6df40f959371ee3f5859f2dddf224f8fe.tar.xz |
(svn r8366) -Codechange: [Graphs] Make the scaling code less cryptic, and fix two longstanding bugs.
1) If the graph contained negative values, the y axis labels were half the size they should have been.
2) If the maximum value was larger than the height of the graph in pixels << 32, all datapoints were scaled to 0.
Diffstat (limited to 'src/water_cmd.cpp')
0 files changed, 0 insertions, 0 deletions