summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-03 14:07:49 +0000
committerdarkvater <darkvater@openttd.org>2005-01-03 14:07:49 +0000
commit39f8b82640675d4810b9e4817ad09c7cb7bd4022 (patch)
tree1e6578e0e541a96bc27287df36c3604a74ff140e /ttd.c
parent32bfe0dddde81d016cb8de15e6a41bca3506d7be (diff)
downloadopenttd-39f8b82640675d4810b9e4817ad09c7cb7bd4022.tar.xz
(svn r1338) -Fix: fix signed/unsigned warnings introduced when ditching the macros for map querying.
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ttd.c b/ttd.c
index 5aa13aff0..cf5a021c8 100644
--- a/ttd.c
+++ b/ttd.c
@@ -1082,7 +1082,7 @@ void GameLoop()
ShowScreenshotResult(MakeScreenshot());
break;
case 2: // make large screenshot
- ShowScreenshotResult(MakeWorldScreenshot(-MapMaxX() * 32, 0, MapMaxX() * 64, TILES_Y * 32, 0));
+ ShowScreenshotResult(MakeWorldScreenshot(-(int)MapMaxX() * 32, 0, MapMaxX() * 64, TILES_Y * 32, 0));
break;
}
}