summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-09-23 21:39:55 +0000
committerdarkvater <darkvater@openttd.org>2004-09-23 21:39:55 +0000
commitcee5cd6cc72d45327c34a6f39a1e1b7ac3f1fcab (patch)
tree8862f138e27f0bd51e5f0c5f6b33ba5fcc5f4274 /ttd.c
parent36f18e7f406d20bd69835960dc0f9b9743528132 (diff)
downloadopenttd-cee5cd6cc72d45327c34a6f39a1e1b7ac3f1fcab.tar.xz
(svn r315) -Fix: starting with -r option allows all resolutions (including 666x666) (t r o n)
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ttd.c b/ttd.c
index 7043627e8..215aa09fb 100644
--- a/ttd.c
+++ b/ttd.c
@@ -472,8 +472,8 @@ void ParseResolution(int res[2], char *s)
return;
}
- res[0] = (strtoul(s, NULL, 0) + 7) & ~7;
- res[1] = (strtoul(t+1, NULL, 0) + 7) & ~7;
+ res[0] = (strtoul(s, NULL, 0) + 7);
+ res[1] = (strtoul(t+1, NULL, 0) + 7);
}
int ttd_main(int argc, char* argv[])