Work of art. Can't wait to experiment with V12s, reinforced headlights, and
armored tires. Will heavy duty frames and armoring be craftable?


On Mon, Jan 6, 2014 at 3:27 AM, illi-kun <notifications@github.com> wrote:

> In src/game.cpp:
>
> >    !u.has_charges("UPS_on", 40) && !u.has_charges("adv_UPS_off", 24) &&
> >    !u.has_charges("adv_UPS_on", 24)) {
> >    add_msg(_("You need a UPS with at least 40 charges or an advanced UPS with at least 24 charges to fire that!"));
> >    return;
> >   }
> > -
> > +
> > +    if (u.weapon.has_flag("MOUNTED_GUN")) {
> > +        int vpart = -1;
> > +        vehicle *veh = m.veh_at (u.posx, u.posy, vpart);
> > +            if (!m.has_flag_ter_or_furn("MOUNTABLE", u.posx, u.posy) || (veh && veh->part_with_feature (vpart, "MOUNTABLE") >= 0)) {
>
> strange indents
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/CleverRaven/Cataclysm-DDA/pull/5430/files#r8663114>
> .
>