At that point they're not really testing your knowledge of the subject, rather how good you are at handling the heat; it's very easy to get distracted by hot conditions (had to sit through an extremely hot room during my History exam.) I think it's pretty fair for them to consider the heat, but then again everyone going through the exam will most likely experience the same level of heat - it's not as if you're at a disadvantage to anyone else.