Things that were marked "in_use" when the game was saved (ex. via the * infamous "HUP" cheat) get used up here. */
| 110 | * infamous "HUP" cheat) get used up here. |
| 111 | */ |
| 112 | void |
| 113 | inven_inuse(boolean quietly) |
| 114 | { |
| 115 | struct obj *otmp, *otmp2; |
| 116 | |
| 117 | for (otmp = gi.invent; otmp; otmp = otmp2) { |
| 118 | otmp2 = otmp->nobj; |
| 119 | if (otmp->in_use) { |
| 120 | if (!quietly) |
| 121 | pline("Finishing off %s...", xname(otmp)); |
| 122 | useup(otmp); |
| 123 | } |
| 124 | } |
| 125 | } |
| 126 | |
| 127 | #endif /* SFCTOOL */ |
| 128 |
no test coverage detected