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

Comparing deliantra/server/server/player.C (file contents):
Revision 1.226 by root, Thu Jan 1 20:49:48 2009 UTC vs.
Revision 1.227 by root, Tue Jan 6 19:17:07 2009 UTC

2954 level = ob->map->darklevel () - 2; 2954 level = ob->map->darklevel () - 2;
2955 2955
2956 /* this also picks up whether the object is glowing. 2956 /* this also picks up whether the object is glowing.
2957 * If you carry a light on a non-dark map, its not 2957 * If you carry a light on a non-dark map, its not
2958 * as bad as carrying a light on a pitch dark map */ 2958 * as bad as carrying a light on a pitch dark map */
2959 if (has_carried_lights (ob)) 2959 if (ob->has_carried_lights ())
2960 level = -(10 + (2 * ob->map->darklevel ())); 2960 level = -(10 + (2 * ob->map->darklevel ()));
2961 2961
2962 /* scan through all nearby squares for terrain to hide in */ 2962 /* scan through all nearby squares for terrain to hide in */
2963 for (i = 0, x = ob->x, y = ob->y; 2963 for (i = 0, x = ob->x, y = ob->y;
2964 i <= SIZEOFFREE1; 2964 i <= SIZEOFFREE1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines