| version 1.8 | | version 1.9 |
|---|
| | |
| /* | | /* |
| * static char *rcsid_xutil_c = | | * static char *rcsid_xutil_c = |
| * "$Id: xutil.c,v 1.8 2002/05/22 04:58:26 mwedel Exp $"; | | * "$Id: xutil.c,v 1.9 2003/05/25 23:37:54 mwedel Exp $"; |
| */ | | */ |
| /* | | /* |
| Crossfire client, a client program for the crossfire program. | | Crossfire client, a client program for the crossfire program. |
| | | |
| Copyright (C) 2001 Mark Wedel & Crossfire Development Team | | Copyright (C) 2001-2003 Mark Wedel & Crossfire Development Team |
| | | |
| This program is free software; you can redistribute it and/or modify | | This program is free software; you can redistribute it and/or modify |
| it under the terms of the GNU General Public License as published by | | it under the terms of the GNU General Public License as published by |
| | |
| if( x < 0 || y < 0 || x >= the_map.x || y >= the_map.y) | | if( x < 0 || y < 0 || x >= the_map.x || y >= the_map.y) |
| continue; | | continue; |
| | | |
| if (use_config[CONFIG_FOGWAR]) | | |
| the_map.cells[x][y].cleared= 1; | | the_map.cells[x][y].cleared= 1; |
| | | the_map.cells[x][y].need_update= 1; |
| } | | } |
| } /* for y */ | | } /* for y */ |
| } /* for x */ | | } /* for x */ |