forked from mirror/OpenTTD
(svn r315) -Fix: starting with -r option allows all resolutions (including 666x666) (t r o n)
This commit is contained in:
4
ttd.c
4
ttd.c
@@ -472,8 +472,8 @@ void ParseResolution(int res[2], char *s)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
res[0] = (strtoul(s, NULL, 0) + 7) & ~7;
|
res[0] = (strtoul(s, NULL, 0) + 7);
|
||||||
res[1] = (strtoul(t+1, NULL, 0) + 7) & ~7;
|
res[1] = (strtoul(t+1, NULL, 0) + 7);
|
||||||
}
|
}
|
||||||
|
|
||||||
int ttd_main(int argc, char* argv[])
|
int ttd_main(int argc, char* argv[])
|
||||||
|
Reference in New Issue
Block a user