X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fcrosshairbutton.c;h=2703b233c310a94f910895b5ee34566fca2fb14b;hb=786db02b0c9aa618c581b7c3fe7392ad114797d8;hp=0b501f5b642dfa181ff11d6b164ba51812949664;hpb=40c99b50ee69f18ebe88918e72a4598822c41ea0;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/crosshairbutton.c b/qcsrc/menu/xonotic/crosshairbutton.c index 0b501f5b6..2703b233c 100644 --- a/qcsrc/menu/xonotic/crosshairbutton.c +++ b/qcsrc/menu/xonotic/crosshairbutton.c @@ -50,14 +50,14 @@ void XonoticCrosshairButton_setChecked(entity me, float val) } void XonoticCrosshairButton_loadCvars(entity me) { - if not(me.cvarName) + if (!me.cvarName) return; me.checked = (cvar(me.cvarName) == me.cvarValueFloat); } void XonoticCrosshairButton_saveCvars(entity me) { - if not(me.cvarName) + if (!me.cvarName) return; if(me.checked)