diff options
author | darkvater <darkvater@openttd.org> | 2004-09-23 21:39:55 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-09-23 21:39:55 +0000 |
commit | cee5cd6cc72d45327c34a6f39a1e1b7ac3f1fcab (patch) | |
tree | 8862f138e27f0bd51e5f0c5f6b33ba5fcc5f4274 | |
parent | 36f18e7f406d20bd69835960dc0f9b9743528132 (diff) | |
download | openttd-cee5cd6cc72d45327c34a6f39a1e1b7ac3f1fcab.tar.xz |
(svn r315) -Fix: starting with -r option allows all resolutions (including 666x666) (t r o n)
-rw-r--r-- | ttd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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[]) |