add obj to the hero's inventory in the default fashion */
| 1149 | |
| 1150 | /* add obj to the hero's inventory in the default fashion */ |
| 1151 | struct obj * |
| 1152 | addinv(struct obj *obj) |
| 1153 | { |
| 1154 | return addinv_core0(obj, (struct obj *) 0, TRUE); |
| 1155 | } |
| 1156 | |
| 1157 | /* add obj to the hero's inventory by inserting in front of a specific item; |
| 1158 | used for throw-and-return in case '!fixinv' is in effect */ |
no test coverage detected