From: nothere Date: Sat, 11 Oct 2003 10:32:38 +0000 (+0000) Subject: 遠く離れたモンスター同士の戦闘で倒れた暁の戦士が, その戦闘とは無関係 X-Git-Tag: v2.1.2~1021 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=07e717c6802cd06851999e68a7adffa91ce59c15;p=hengbandforosx%2Fhengbandosx.git 遠く離れたモンスター同士の戦闘で倒れた暁の戦士が, その戦闘とは無関係 なプレイヤーの目の前のみに復活していたバグを修正. --- diff --git a/src/xtra2.c b/src/xtra2.c index 2c33bc041..f1723ead6 100644 --- a/src/xtra2.c +++ b/src/xtra2.c @@ -932,13 +932,13 @@ msg_print(" { if (!one_in_(7)) { - int wy = py, wx = px; + int wy = y, wx = x; int attempts = 100; bool pet = is_pet(m_ptr); do { - scatter(&wy, &wx, py, px, 20, 0); + scatter(&wy, &wx, y, x, 20, 0); } while (!(in_bounds(wy, wx) && cave_empty_bold2(wy, wx)) && --attempts);