summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-09-23 21:44:36 +0000
committerdarkvater <darkvater@openttd.org>2004-09-23 21:44:36 +0000
commit67f385ded8dfe4aca7cdd61ec3054dc1fb9564b1 (patch)
tree5b280d0faa16c503a4b758fda61abc6e731c37c2
parentcee5cd6cc72d45327c34a6f39a1e1b7ac3f1fcab (diff)
downloadopenttd-67f385ded8dfe4aca7cdd61ec3054dc1fb9564b1.tar.xz
(svn r316) -Fix: not +7 (Tron)
-rw-r--r--ttd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ttd.c b/ttd.c
index 215aa09fb..e27b15cb2 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);
- res[1] = (strtoul(t+1, NULL, 0) + 7);
+ res[0] = strtoul(s, NULL, 0);
+ res[1] = strtoul(t + 1, NULL, 0);
}
int ttd_main(int argc, char* argv[])