Sad story and I hate to see animals suffering, but 40 C is about 104 F which doesn’t seem all that hot. Of course I live in Texas.
I know the bats in Austin handle 104 degrees pretty regularly.