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

Comparing deliantra/server/common/map.c (file contents):
Revision 1.9 by root, Tue Mar 28 06:54:31 2006 UTC vs.
Revision 1.10 by root, Sat Apr 1 15:39:58 2006 UTC

1/* 1/*
2 * static char *rcsid_map_c = 2 * static char *rcsid_map_c =
3 * "$Id: map.c,v 1.9 2006/03/28 06:54:31 root Exp $"; 3 * "$Id: map.c,v 1.10 2006/04/01 15:39:58 root Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
1701 return 0; 1701 return 0;
1702 } 1702 }
1703 1703
1704 /* inform all players on the map */ 1704 /* inform all players on the map */
1705 if (change>0) 1705 if (change>0)
1706 new_info_map(NDI_BLACK, m,"It becomes darker."); 1706 new_info_map(NDI_BLACK|NDI_UNIQUE, m,"It becomes darker.");
1707 else 1707 else
1708 new_info_map(NDI_BLACK, m,"It becomes brighter."); 1708 new_info_map(NDI_BLACK|NDI_UNIQUE, m,"It becomes brighter.");
1709 1709
1710 /* Do extra checking. since m->darkness is a unsigned value, 1710 /* Do extra checking. since m->darkness is a unsigned value,
1711 * we need to be extra careful about negative values. 1711 * we need to be extra careful about negative values.
1712 * In general, the checks below are only needed if change 1712 * In general, the checks below are only needed if change
1713 * is not +/-1 1713 * is not +/-1

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines