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.64 by root, Wed Nov 4 17:24:00 2009 UTC vs.
Revision 1.65 by root, Wed Nov 4 18:17:57 2009 UTC

352static void 352static void
353apply_lights (player *pl) 353apply_lights (player *pl)
354{ 354{
355 object *op = pl->viewpoint; 355 object *op = pl->viewpoint;
356 int darklevel = op->map->darklevel (); 356 int darklevel = op->map->darklevel ();
357 maptile::outdoor_darkness = 4;//D
358 357
359 int half_x = pl->ns->mapx / 2; 358 int half_x = pl->ns->mapx / 2;
360 int half_y = pl->ns->mapy / 2; 359 int half_y = pl->ns->mapy / 2;
361 360
362 int pass2 = 0; // negative lights have an extra pass 361 int pass2 = 0; // negative lights have an extra pass

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines