mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-21 20:49:31 +01:00
(svn r315) -Fix: starting with -r option allows all resolutions (including 666x666) (t r o n)
This commit is contained in:
parent
36f18e7f40
commit
cee5cd6cc7
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[])
|
||||||
|
Loading…
Reference in New Issue
Block a user