give a message when the level temperature is different from previous */
| 2013 | |
| 2014 | /* give a message when the level temperature is different from previous */ |
| 2015 | staticfn void |
| 2016 | temperature_change_msg(schar prev_temperature) |
| 2017 | { |
| 2018 | if (prev_temperature != svl.level.flags.temperature) { |
| 2019 | if (svl.level.flags.temperature) |
| 2020 | hellish_smoke_mesg(); |
| 2021 | else if (prev_temperature > 0) |
| 2022 | pline_The("heat %s gone.", |
| 2023 | In_hell(&u.uz0) |
| 2024 | ? "and smoke are" : "is"); |
| 2025 | else if (prev_temperature < 0) |
| 2026 | You("are out of the cold."); |
| 2027 | } |
| 2028 | } |
| 2029 | |
| 2030 | /* usually called from goto_level(); might be called from Sting_effects() */ |
| 2031 | void |
no test coverage detected