summaryrefslogtreecommitdiff
path: root/gfx.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-09-15 22:42:59 +0000
committerDarkvater <darkvater@openttd.org>2005-09-15 22:42:59 +0000
commit141924455193275572e8b43fd6702ff05120656e (patch)
tree1cbb1baa1805c769ce2cfef99bffcfc5b23b9e6d /gfx.c
parente9401f09a71532508620689659046c6688a31ba4 (diff)
downloadopenttd-141924455193275572e8b43fd6702ff05120656e.tar.xz
(svn r2955) Fix: make ottd start with the last resolution you had set (custom) (win32)
Diffstat (limited to 'gfx.c')
-rw-r--r--gfx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gfx.c b/gfx.c
index ef6528679..368aaa39b 100644
--- a/gfx.c
+++ b/gfx.c
@@ -1974,8 +1974,6 @@ bool ChangeResInGame(int w, int h)
if ((_screen.width != w || _screen.height != h) && !_video_driver->change_resolution(w, h))
return false;
- _cur_resolution[0] = w;
- _cur_resolution[1] = h;
return true;
}