From 430d4d18262951a5987eff07ca9cd82c415b420f Mon Sep 17 00:00:00 2001 From: TimePath Date: Sun, 16 Aug 2015 21:04:22 +1000 Subject: [PATCH] Fix division by 0 --- qcsrc/menu/xonotic/dialog_media_guide.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/menu/xonotic/dialog_media_guide.qc b/qcsrc/menu/xonotic/dialog_media_guide.qc index e7b573ff5e..af818ad2de 100644 --- a/qcsrc/menu/xonotic/dialog_media_guide.qc +++ b/qcsrc/menu/xonotic/dialog_media_guide.qc @@ -97,6 +97,7 @@ ENDCLASS(MapSource) CLASS(XonoticGuideTab, XonoticTab) ATTRIB(XonoticGuideTab, rows, float, 21) ATTRIB(XonoticGuideTab, columns, float, 6) + ATTRIB(XonoticGuideTab, intendedWidth, float, 1) METHOD(XonoticGuideTab, fill, void(entity)) METHOD(XonoticGuideTab, topicChangeNotify, void(entity)) METHOD(XonoticGuideTab, topicSelectNotify, void(entity)) -- 2.39.2