diff options
author | peter1138 <peter1138@openttd.org> | 2005-09-19 16:03:47 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2005-09-19 16:03:47 +0000 |
commit | 3d197e08610fc932b0cd147234e93f5538b66fc8 (patch) | |
tree | 21511452544f4414eee59d4090f2cc43d2d36229 | |
parent | 8e6a911700de2875db95d254e5a5771e73ceedd7 (diff) | |
download | openttd-3d197e08610fc932b0cd147234e93f5538b66fc8.tar.xz |
(svn r2963) Fix: calculate proportions of non-square giant screenshot correctly.
-rw-r--r-- | openttd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -974,7 +974,7 @@ void GameLoop(void) ShowScreenshotResult(MakeScreenshot()); break; case 2: // make large screenshot - ShowScreenshotResult(MakeWorldScreenshot(-(int)MapMaxX() * 32, 0, MapMaxX() * 64, MapSizeY() * 32, 0)); + ShowScreenshotResult(MakeWorldScreenshot(-(int)MapMaxX() * TILE_PIXELS, 0, (MapMaxX() + MapMaxY()) * TILE_PIXELS, (MapMaxX() + MapMaxY()) * TILE_PIXELS >> 1, 0)); break; } } |