summaryrefslogtreecommitdiff
path: root/src/units.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-09-11 11:58:50 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-09-11 12:16:23 +0200
commit6ed5449ea0b8e7356304dd4f6705dcc0ac11647e (patch)
tree4658407acb50b88e8bd3a990a881feaf53242472 /src/units.cpp
parent248a274ec6c6e4b5e1f1eb76cf4c6f8b43ac02d3 (diff)
downloadmana-6ed5449ea0b8e7356304dd4f6705dcc0ac11647e.tar.gz
mana-6ed5449ea0b8e7356304dd4f6705dcc0ac11647e.tar.bz2
mana-6ed5449ea0b8e7356304dd4f6705dcc0ac11647e.tar.xz
mana-6ed5449ea0b8e7356304dd4f6705dcc0ac11647e.zip
Fixed drawing glitch with overwide tiles
The layer rendering code was not prepared to handle tiles that were wider than the tile width of the map. This commit also fixes the initialization of the maximum tile height, which was based on the map height rather than the tile height. This could slightly reduce overdraw for some maps. Reviewed-by: Stefan Beller <stefanbeller@googlemail.com>
Diffstat (limited to 'src/units.cpp')
0 files changed, 0 insertions, 0 deletions