diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-01-25 22:44:41 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-01-25 22:44:41 +0100 |
commit | 509d2a49ceef49b049e8ca095c337050cc2365e7 (patch) | |
tree | 503781f1d419ac655bcb57c0ca2394059bcb561c /crawl-ref/source/libgui.cc | |
parent | 3cae7b462d9eadadbf7156dd2ea59779a0e727b1 (diff) | |
download | crawl-ref-509d2a49ceef49b049e8ca095c337050cc2365e7.tar.gz crawl-ref-509d2a49ceef49b049e8ca095c337050cc2365e7.zip |
Initialize crawl_view.termsz in tiles.
Setting it to 80x24 -- tiles experts should correct this if
inappropriate.
This fixes issue #556.
Diffstat (limited to 'crawl-ref/source/libgui.cc')
-rw-r--r-- | crawl-ref/source/libgui.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/libgui.cc b/crawl-ref/source/libgui.cc index dda15f9523..e24b0f7aa8 100644 --- a/crawl-ref/source/libgui.cc +++ b/crawl-ref/source/libgui.cc @@ -67,6 +67,9 @@ void gui_init_view_params(crawl_view_geometry &geom) geom.termp.x = 1; geom.termp.y = 1; + geom.termsz.x = 80; + geom.termsz.y = 24; + geom.viewp.x = 1; geom.viewp.y = 1; |