* Called when ice has melted completely away. */
| 5116 | * Called when ice has melted completely away. |
| 5117 | */ |
| 5118 | void |
| 5119 | melt_ice_away(anything *arg, long timeout UNUSED) |
| 5120 | { |
| 5121 | coordxy x, y; |
| 5122 | long where = arg->a_long; |
| 5123 | boolean save_mon_moving = svc.context.mon_moving; /* will be False */ |
| 5124 | |
| 5125 | /* melt_ice -> minliquid -> mondead|xkilled shouldn't credit/blame hero */ |
| 5126 | svc.context.mon_moving = TRUE; /* hero isn't causing this ice to melt */ |
| 5127 | y = (coordxy) (where & 0xFFFF); |
| 5128 | x = (coordxy) ((where >> 16) & 0xFFFF); |
| 5129 | /* melt_ice does newsym when appropriate */ |
| 5130 | melt_ice(x, y, "Some ice melts away."); |
| 5131 | svc.context.mon_moving = save_mon_moving; |
| 5132 | } |
| 5133 | |
| 5134 | /* Burn floor scrolls, evaporate pools, etc... in a single square. |
| 5135 | * Used both for normal bolts of fire, cold, etc... and for fireballs. |
nothing calls this directly
no test coverage detected