+#include "radiobutton.qh"
#ifndef RADIOBUTTON_H
#define RADIOBUTTON_H
#include "../item/radiobutton.qc"
void XonoticRadioButton_configureXonoticRadioButton(entity me, float theGroup, string theCvar, string theValue, string theText, string theTooltip)
{
me.cvarName = (theCvar) ? theCvar : string_null;
+ me.cvarValue = theValue;
me.loadCvars(me);
setZonedTooltip(me, theTooltip, theCvar);
me.configureRadioButton(me, theText, me.fontSize, me.image, theGroup, 0);
{
if(me.cvarName)
{
- me.checked = !!cvar(me.cvarName);
+ me.checked = boolean(cvar(me.cvarName));
}
else
{