make the weapon passable and set the c_scanflag IGNORE_PASSABLE

Hope I can help.