When Walter sees the cat, he has a second, fatal heart attack. His will leaves everything to Edgar.
As soon as Walter lays eyes on the cat, he has a second, life-threatening heart attack. In his last will and testament, he leaves everything to Edgar.