I'm not sure how to properly include within .inc files, evidently what I tried didn't work.
-#include <common/weapons/weapon/rifle.qh>
-
string Buff_CompatName(string buffname)
{
switch(buffname)
{
TC(AmmoBuff, this);
return sprintf(_("The %s gives you infinite ammo until the buff expires, so you don't need to worry about running out of ammo\n\n"
- "It also removes the need to reload any weapons that require reloading, like the %s"),
- COLORED_NAME_WITH_CONCAT(this, _("Buff")), COLORED_NAME(WEP_RIFLE));
+ "It also removes the need to reload any weapons that require reloading"),
+ COLORED_NAME_WITH_CONCAT(this, _("Buff")));
}
#endif
ENDCLASS(AmmoBuff)