]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/bigbutton.qc
Enable Apply button on player's name change
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / bigbutton.qc
index 07b6a074ceca2a341dba0c81976c0df3ab7c6046..c0a5caa12177308e7a1f82d0cbcb4afbf2fc5234 100644 (file)
@@ -2,11 +2,11 @@
 #define BIGBUTTON_H
 #include "button.qc"
 CLASS(XonoticBigButton, XonoticButton)
-       METHOD(XonoticBigButton, configureXonoticBigButton, void(entity, string, vector))
+       METHOD(XonoticBigButton, configureXonoticBigButton, void(entity, string, vector));
        ATTRIB(XonoticBigButton, image, string, SKINGFX_BUTTON_BIG)
        ATTRIB(XonoticBigButton, grayImage, string, SKINGFX_BUTTON_BIG_GRAY)
 ENDCLASS(XonoticBigButton)
-entity makeXonoticButton(string theText, vector theColor);
+entity makeXonoticBigButton(string theText, vector theColor);
 #endif
 
 #ifdef IMPLEMENTATION
@@ -20,6 +20,6 @@ entity makeXonoticBigButton(string theText, vector theColor)
 
 void XonoticBigButton_configureXonoticBigButton(entity me, string theText, vector theColor)
 {
-       me.configureXonoticButton(me, theText, theColor);
+       me.configureXonoticButton(me, theText, theColor, string_null);
 }
 #endif