From d8647e468978e63954ddfa074c32df65f28c966e Mon Sep 17 00:00:00 2001 From: henkma Date: Sat, 16 Jul 2005 12:02:34 +0000 Subject: [PATCH] =?utf8?q?cast=5Fmeteor()=20=E3=82=92,=20=E5=A3=81?= =?utf8?q?=E3=81=AE=E4=B8=AD=E3=81=AB=E3=81=AF=E9=9A=95=E7=9F=B3=E3=82=92?= =?utf8?q?=E5=8F=AC=E5=96=9A=E3=81=97=E3=81=AA=E3=81=84=E3=82=88=E3=81=86?= =?utf8?q?=E3=81=AB=E4=BF=AE=E6=AD=A3.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/do-spell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/do-spell.c b/src/do-spell.c index e1af8baea..f3f4f6ded 100644 --- a/src/do-spell.c +++ b/src/do-spell.c @@ -931,7 +931,8 @@ static void cast_meteor(int dam, int rad) if (d >= 9) continue; - if (!in_bounds(y, x) || !projectable(py, px, y, x)) continue; + if (!in_bounds(y, x) || !projectable(py, px, y, x) + || !cave_have_flag_bold(y, x, FF_PROJECT)) continue; /* Valid position */ break; -- 2.11.0