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

Comparing deliantra/server/common/object.C (file contents):
Revision 1.134 by pippijn, Thu Mar 1 12:28:16 2007 UTC vs.
Revision 1.135 by root, Sun Mar 11 02:12:44 2007 UTC

1289 * looks like instead of lots of conditions here. 1289 * looks like instead of lots of conditions here.
1290 * makes things faster, and effectively the same result. 1290 * makes things faster, and effectively the same result.
1291 */ 1291 */
1292 1292
1293 /* Have object 'fall below' other objects that block view. 1293 /* Have object 'fall below' other objects that block view.
1294 * Unless those objects are exits, type 66 1294 * Unless those objects are exits.
1295 * If INS_ON_TOP is used, don't do this processing 1295 * If INS_ON_TOP is used, don't do this processing
1296 * Need to find the object that in fact blocks view, otherwise 1296 * Need to find the object that in fact blocks view, otherwise
1297 * stacking is a bit odd. 1297 * stacking is a bit odd.
1298 */ 1298 */
1299 if (!(flag & INS_ON_TOP) 1299 if (!(flag & INS_ON_TOP)
1300 && ms.flags () & P_BLOCKSVIEW 1300 && ms.flags () & P_BLOCKSVIEW
1301 && (op->face && !op->face->visibility)) 1301 && (op->face && !faces [op->face].visibility))
1302 { 1302 {
1303 for (last = top; last != floor; last = last->below) 1303 for (last = top; last != floor; last = last->below)
1304 if (QUERY_FLAG (last, FLAG_BLOCKSVIEW) && (last->type != EXIT)) 1304 if (QUERY_FLAG (last, FLAG_BLOCKSVIEW) && (last->type != EXIT))
1305 break; 1305 break;
1306 1306

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines