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.52 by root, Thu Apr 19 19:24:25 2007 UTC vs.
Revision 1.53 by root, Sat Apr 21 16:56:30 2007 UTC

237 * this is the original object, or if this is an object that should be created 237 * this is the original object, or if this is an object that should be created
238 * by another object. 238 * by another object.
239 */ 239 */
240 if (flags & GT_ENVIRONMENT && op->type != SPELL) 240 if (flags & GT_ENVIRONMENT && op->type != SPELL)
241 { 241 {
242 op->deactivate_recursive ();
243 op->expand_tail ();
244
242 if (ob_blocked (op, creator->map, creator->x, creator->y)) 245 if (ob_blocked (op, creator->map, creator->x, creator->y))
243 op->destroy (); 246 op->destroy ();
244 else 247 else
245 { 248 {
246 SET_FLAG (op, FLAG_OBJ_ORIGINAL); 249 SET_FLAG (op, FLAG_OBJ_ORIGINAL);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines