If ice was affecting any objects correct that now * Also used for starting ice effects too. [zap.c] */
| 2394 | * Also used for starting ice effects too. [zap.c] |
| 2395 | */ |
| 2396 | void |
| 2397 | obj_ice_effects(coordxy x, coordxy y, boolean do_buried) |
| 2398 | { |
| 2399 | struct obj *otmp; |
| 2400 | |
| 2401 | for (otmp = svl.level.objects[x][y]; otmp; otmp = otmp->nexthere) { |
| 2402 | if (otmp->timed) |
| 2403 | obj_timer_checks(otmp, x, y, 0); |
| 2404 | } |
| 2405 | if (do_buried) { |
| 2406 | for (otmp = svl.level.buriedobjlist; otmp; otmp = otmp->nobj) { |
| 2407 | if (otmp->ox == x && otmp->oy == y) { |
| 2408 | if (otmp->timed) |
| 2409 | obj_timer_checks(otmp, x, y, 0); |
| 2410 | } |
| 2411 | } |
| 2412 | } |
| 2413 | } |
| 2414 | |
| 2415 | /* |
| 2416 | * Returns an obj->age for a corpse object on ice, that would be the |
no test coverage detected