Buff b = Buffs_from(this.wp_extra);
M_ARGV(2, vector) = b.m_color;
M_ARGV(3, string) = b.m_prettyName;
+ M_ARGV(4, string) = strcat("buff_", b.m_name);
return true;
}
}
// TODO: needs icons! //if (s == WP_RaceStartFinish.netname) return (race_checkpointtime || race_mycheckpointtime) ? _("Finish") : _("Start");
if (s == WP_Weapon.netname) return Weapons_from(this.wp_extra).model2;
if (s == WP_Item.netname) return Items_from(this.wp_extra).m_icon;
- if (s == WP_Buff.netname) return strcat("buff_", Buffs_from(this.wp_extra).m_name);
if (s == WP_Vehicle.netname) return Vehicles_from(this.wp_extra).m_icon;
//if (s == WP_Monster.netname) return get_monsterinfo(this.wp_extra).m_icon;
if (MUTATOR_CALLHOOK(WP_Format, this, s))