summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-06-08 18:45:14 +0000
committertruelight <truelight@openttd.org>2007-06-08 18:45:14 +0000
commite9c2c4a27e53c5f48d2bcb87747cdd7f57b8f620 (patch)
tree11fc57739dc8f723c5f23d04ca69ff4bf323b5e7 /src/gfx.cpp
parentf4c1938af90e7daa612b6169b1b988547d4012ff (diff)
downloadopenttd-e9c2c4a27e53c5f48d2bcb87747cdd7f57b8f620.tar.xz
(svn r10070) -Fix: fix the rounding problem of zoom-levels in zoom.hpp, so it is global for every call
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r--src/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index a0812baed..d529728de 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -856,7 +856,7 @@ static inline void GfxBlitTileZoom(BlitterParams *bp)
if (num <= 0) continue;
}
- num = UnScaleByZoom(num + ScaleByZoom(1, Tzoom) - 1, Tzoom);
+ num = UnScaleByZoom(num, Tzoom);
switch (Tmode) {
case BM_COLOUR_REMAP: