… | |
… | |
271 | return; |
271 | return; |
272 | } |
272 | } |
273 | |
273 | |
274 | if (QUERY_FLAG (tmp, FLAG_NO_DROP)) |
274 | if (QUERY_FLAG (tmp, FLAG_NO_DROP)) |
275 | return; |
275 | return; |
276 | |
|
|
277 | if (QUERY_FLAG (tmp, FLAG_WAS_WIZ) && !QUERY_FLAG (pl, FLAG_WAS_WIZ)) |
|
|
278 | { |
|
|
279 | new_draw_info (NDI_UNIQUE, 0, pl, "The object disappears in a puff of smoke!"); |
|
|
280 | new_draw_info (NDI_UNIQUE, 0, pl, "It must have been an illusion."); |
|
|
281 | |
|
|
282 | if (pl->contr) |
|
|
283 | esrv_del_item (pl->contr, tmp->count); |
|
|
284 | |
|
|
285 | tmp->destroy (); |
|
|
286 | return; |
|
|
287 | } |
|
|
288 | |
276 | |
289 | if (nrof > tmp_nrof || nrof == 0) |
277 | if (nrof > tmp_nrof || nrof == 0) |
290 | nrof = tmp_nrof; |
278 | nrof = tmp_nrof; |
291 | |
279 | |
292 | /* Figure out how much weight this object will add to the player */ |
280 | /* Figure out how much weight this object will add to the player */ |