From d099929b8cd2bf9c097732a8caba3b12da8ca863 Mon Sep 17 00:00:00 2001 From: mogami Date: Tue, 30 Apr 2002 09:55:58 +0000 Subject: [PATCH] =?utf8?q?=E5=85=89=E6=BA=90=E5=8D=8A=E5=BE=84=E3=80=81?= =?utf8?q?=E2=98=86=E6=8C=87=E8=BC=AA=E3=81=A8=E3=83=89=E3=83=AF=E3=83=BC?= =?utf8?q?=E3=83=95=E3=81=AE=E9=A0=B8=E9=A3=BE=E3=82=8A=E3=82=92=E4=BB=98?= =?utf8?q?=E3=81=91=E3=82=8C=E3=81=B0=E6=9C=80=E5=A4=A7=E5=80=A4=E3=81=8C1?= =?utf8?q?4=E3=81=A0=E3=81=A3=E3=81=9F=E3=81=AE=E3=81=A714=E3=81=AB?= =?utf8?q?=E4=BF=AE=E6=AD=A3=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/cave.c | 2 +- src/defines.h | 6 +++--- src/xtra1.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/cave.c b/src/cave.c index 664d1625f..964cf7d1a 100644 --- a/src/cave.c +++ b/src/cave.c @@ -3177,7 +3177,7 @@ void update_lite(void) int d; /* Paranoia -- see "LITE_MAX" */ - if (p > 11) p = 11; + if (p > 14) p = 14; /* South-East of the player */ if (cave_floor_bold(py+1, px+1)) diff --git a/src/defines.h b/src/defines.h index 7ef28ee00..753561921 100644 --- a/src/defines.h +++ b/src/defines.h @@ -391,10 +391,10 @@ /* * Maximum size of the "lite" array (see "cave.c") - * Note that the "lite radius" will NEVER exceed 11, and we would - * never require more than 369 entries in the array for circular "lite". + * Note that the "lite radius" will NEVER exceed 14, and we would + * never require more than 581 entries in the array for circular "lite". */ -#define LITE_MAX 512 +#define LITE_MAX 600 /* * Maximum size of the "view" array (see "cave.c") diff --git a/src/xtra1.c b/src/xtra1.c index fc2a8fa6c..b4d1c7e15 100644 --- a/src/xtra1.c +++ b/src/xtra1.c @@ -3115,7 +3115,7 @@ static void calc_torch(void) /* see cave.c:update_lite() and defines.h:LITE_MAX */ if (d_info[dungeon_type].flags1 & DF1_DARKNESS && p_ptr->cur_lite > 1) p_ptr->cur_lite = 1; - if (p_ptr->cur_lite > 11) p_ptr->cur_lite = 11; + if (p_ptr->cur_lite > 14) p_ptr->cur_lite = 14; if (p_ptr->cur_lite < 0) p_ptr->cur_lite = 0; /* check if the player doesn't have a lite source, */ -- 2.11.0