summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2009-03-22 08:10:20 +0000
committerpeter1138 <peter1138@openttd.org>2009-03-22 08:10:20 +0000
commit4c02622cae4bb841eb1e7c73bea1cfe261617a81 (patch)
tree43ab0fdf910fb9a2bd4aab79f794c808d6ed8c11
parenta07fae67c371dc8f2d4a89401a0a054d591dd397 (diff)
downloadopenttd-4c02622cae4bb841eb1e7c73bea1cfe261617a81.tar.xz
(svn r15801) -Fix (r15797): The new DrawStringMultiLine() now returns the new y position instead of the height, so we don't need to add it on.
-rw-r--r--src/misc_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index 5ed8f2b62..7e1dce368 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -770,7 +770,7 @@ int DrawStationCoverageAreaText(int sx, int sy, StationCoverageType sct, int rad
} else {
GetAcceptanceAroundTiles(cargo, tile, _thd.size.x / TILE_SIZE, _thd.size.y / TILE_SIZE , rad);
}
- return sy + DrawStationCoverageText(cargo, sx, sy, sct, supplies);
+ return DrawStationCoverageText(cargo, sx, sy, sct, supplies);
}
return sy;