't was fortunate for him the medicine man had left his pants and sword to lie in the front room of the building , or else he would not have had the presence of mind to grab them both as he followed her smell out of the entrance .