a cold wind stirred his hair and it occurred to him that he would have found a hat useful and , even as he thought that , leggen pulled something out of a fold in his sweater , snapped it open , and put it on his head .