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

Comparing deliantra/server/common/los.C (file contents):
Revision 1.32 by root, Thu Dec 4 03:48:19 2008 UTC vs.
Revision 1.33 by root, Thu Dec 4 03:48:37 2008 UTC

345 int x, y, darklevel, basex, basey, mflags, light, x1, y1; 345 int x, y, darklevel, basex, basey, mflags, light, x1, y1;
346 maptile *m = op->map; 346 maptile *m = op->map;
347 sint16 nx, ny; 347 sint16 nx, ny;
348 348
349 darklevel = m->darkness; 349 darklevel = m->darkness;
350 darklevel = MAX_DARKNESS;//D
351 350
352 /* If the player can see in the dark, lower the darklevel for him */ 351 /* If the player can see in the dark, lower the darklevel for him */
353 if (QUERY_FLAG (op, FLAG_SEE_IN_DARK)) 352 if (QUERY_FLAG (op, FLAG_SEE_IN_DARK))
354 darklevel -= MAX_DARKNESS_LOS / 2; 353 darklevel -= MAX_DARKNESS_LOS / 2;
355 354

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines