- Code: Select all • Expand view
//
// shoot a thing
//
th = in->d.thing;
if (th == shootthing)
return true; // can't shoot self
if (!(th->flags&MF_SHOOTABLE))
return true; // corpse or something
if(th->type == MT_POD)
{ // Can't auto-aim at pods
return(true);
}
The ability to have shootable things that do not snag autoaim (even when not using "smart autoaim" settings) has long been desired by modders, to create destructible decorations or even to make protective barriers (e.g.).
This patch adds a DONTAUTOAIM flag that does that, and gives it to the Heretic pod.


