]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/weaponslist.qc
Fix long strings exceeding the scope of the weapon priority list
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / weaponslist.qc
index 7834153dced56a548c6c21ff7d9b8f44265fab23..1f2a4e19e65b2fb2caeecab9da8c2b13e6576df7 100644 (file)
@@ -105,7 +105,7 @@ void XonoticWeaponsList_drawListBoxItem(entity me, int i, vector absSize, bool i
        e = get_weaponinfo(stof(argv(i)));
        string msg = e.message;
        if(e.spawnflags & WEP_FLAG_MUTATORBLOCKED)
-               msg = sprintf(_("%s (mutator weapon)"), msg);
+               msg = strcat(msg, "*");
 
        vector save_fontscale = draw_fontscale;
        float f = draw_CondensedFontFactor(msg, false, me.realFontSize, 1);