summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/libgui.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/libgui.cc b/crawl-ref/source/libgui.cc
index 41ddebde0f..762820e5d1 100644
--- a/crawl-ref/source/libgui.cc
+++ b/crawl-ref/source/libgui.cc
@@ -2047,7 +2047,8 @@ void gui_init_view_params(crawl_view_geometry &geom)
geom.mlistsz.x = 0;
geom.mlistsz.y = 0;
- region_tip->resize(geom.hudsz.x, 3);
+ if (region_tip)
+ region_tip->resize(geom.hudsz.x, 3);
region_msg->resize(geom.msgsz.x, geom.msgsz.y);
region_stat->resize(geom.hudsz.x, geom.hudsz.y);