| 75 | } |
| 76 | |
| 77 | void SetDead() |
| 78 | { |
| 79 | int mi; |
| 80 | int i; |
| 81 | int dx, dy; |
| 82 | |
| 83 | for (i = 0; i < nummonsters; i++) { |
| 84 | mi = monstactive[i]; |
| 85 | if (monster[mi]._uniqtype) { |
| 86 | for (dx = 0; dx < MAXDUNX; dx++) { |
| 87 | for (dy = 0; dy < MAXDUNY; dy++) { |
| 88 | if ((dDead[dx][dy] & 0x1F) == monster[mi]._udeadval) |
| 89 | ChangeLightXY(monster[mi].mlid, dx, dy); |
| 90 | } |
| 91 | } |
| 92 | } |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | DEVILUTION_END_NAMESPACE |
no test coverage detected