OSDN Git Service

遠く離れたモンスター同士の戦闘で倒れた暁の戦士が, その戦闘とは無関係
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 11 Oct 2003 10:32:38 +0000 (10:32 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 11 Oct 2003 10:32:38 +0000 (10:32 +0000)
なプレイヤーの目の前のみに復活していたバグを修正.

src/xtra2.c

index 2c33bc0..f1723ea 100644 (file)
@@ -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);