From: TimePath Date: Sun, 16 Aug 2015 11:04:22 +0000 (+1000) Subject: Fix division by 0 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=430d4d18262951a5987eff07ca9cd82c415b420f;p=xonotic%2Fxonotic-data.pk3dir.git Fix division by 0 --- 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))