clean up crash when repacking mounted faction npc
minor cleanup in faction ranged attack ai