ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/c_object.C
(Generate patch)

Comparing deliantra/server/server/c_object.C (file contents):
Revision 1.52 by root, Sat May 12 20:21:54 2007 UTC vs.
Revision 1.53 by root, Thu May 17 14:14:55 2007 UTC

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 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines