i was scanning the ground for rocks to use as weapons when , out of the darkness ahead , there appeared a structure-a small sagging shack with broken windows and missing doors , which in my panic i failed to recognize .