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.14 by root, Mon Dec 25 14:54:44 2006 UTC vs.
Revision 1.15 by root, Sat Dec 30 10:16:10 2006 UTC

349 /* Do a sanity check. If not valid, some code below may do odd 349 /* Do a sanity check. If not valid, some code below may do odd
350 * things. 350 * things.
351 */ 351 */
352 if (darklevel > MAX_DARKNESS) 352 if (darklevel > MAX_DARKNESS)
353 { 353 {
354 LOG (llevError, "Map darkness for %s on %s is too high (%d)\n", &op->name, op->map->path, darklevel); 354 LOG (llevError, "Map darkness for %s on %s is too high (%d)\n", &op->name, &op->map->path, darklevel);
355 darklevel = MAX_DARKNESS; 355 darklevel = MAX_DARKNESS;
356 } 356 }
357 357
358 /* First, limit player furthest (unlighted) vision */ 358 /* First, limit player furthest (unlighted) vision */
359 for (x = 0; x < op->contr->ns->mapx; x++) 359 for (x = 0; x < op->contr->ns->mapx; x++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines