]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix division by 0
authorTimePath <andrew.hardaker1995@gmail.com>
Sun, 16 Aug 2015 11:04:22 +0000 (21:04 +1000)
committerTimePath <andrew.hardaker1995@gmail.com>
Sun, 16 Aug 2015 11:04:22 +0000 (21:04 +1000)
qcsrc/menu/xonotic/dialog_media_guide.qc

index e7b573ff5ec68967f00ae6116aa5a55f7e9ff18a..af818ad2deb09070502d599e8b82e176b59dbb9f 100644 (file)
@@ -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))