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.53 by root, Sat Apr 21 16:56:30 2007 UTC vs.
Revision 1.55 by root, Sat Apr 21 22:05:52 2007 UTC

1/* 1/*
2 * CrossFire, A Multiplayer game for X-windows 2 * CrossFire, A Multiplayer game
3 * 3 *
4 * Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team 4 * Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team
5 * Copyright (C) 2002 Mark Wedel & Crossfire Development Team 5 * Copyright (C) 2002 Mark Wedel & Crossfire Development Team
6 * Copyright (C) 1992 Frank Tore Johansen 6 * Copyright (C) 1992 Frank Tore Johansen
7 * 7 *
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 (); 242 op->expand_tail ();
244 243
245 if (ob_blocked (op, creator->map, creator->x, creator->y)) 244 if (ob_blocked (op, creator->map, creator->x, creator->y))
246 op->destroy (); 245 op->destroy ();
247 else 246 else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines