]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/item/radiobutton.qc
Fix long strings exceeding the scope of the weapon priority list
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / item / radiobutton.qc
index 80fd5329b41f70f2dedab6ced75caea971e58284..4dfadd2d569ce47132ee2f833460b439e59a8da9 100644 (file)
@@ -1,7 +1,9 @@
-#ifdef INTERFACE
+#ifndef ITEM_RADIOBUTTON_H
+#define ITEM_RADIOBUTTON_H
+#include "checkbox.qc"
 void RadioButton_Click(entity me, entity other);
-CLASS(RadioButton) EXTENDS(CheckBox)
-       METHOD(RadioButton, configureRadioButton, void(entity, string, float, string, float, float))
+CLASS(RadioButtonCheckBox)
+       METHOD(RadioButton, configureRadioButton, void(entity, string, float, string, float, float));
        ATTRIB(RadioButton, checked, float, 0)
        ATTRIB(RadioButton, group, float, 0)
        ATTRIB(RadioButton, allowDeselect, float, 0)