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

Comparing deliantra/server/common/treasure.C (file contents):
Revision 1.75 by root, Tue Apr 22 07:01:46 2008 UTC vs.
Revision 1.76 by root, Mon May 5 22:17:43 2008 UTC

255 return; 255 return;
256 } 256 }
257 257
258 op->expand_tail (); 258 op->expand_tail ();
259 259
260 if (op->blocked (creator->map, creator->x, creator->y)) 260 if (!op->is_on_map () || op->blocked (creator->map, creator->x, creator->y))
261 op->destroy (); 261 op->destroy ();
262 else 262 else
263 { 263 {
264 SET_FLAG (op, FLAG_OBJ_ORIGINAL); 264 SET_FLAG (op, FLAG_OBJ_ORIGINAL);
265 op->insert_at (creator, creator, INS_NO_MERGE | INS_NO_WALK_ON); 265 op->insert_at (creator, creator, INS_NO_MERGE | INS_NO_WALK_ON);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines