OSDN Git Service

ウィザードモードではモンスターのテレポートバックが位置交換になってし
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 13 Dec 2003 04:51:45 +0000 (04:51 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 13 Dec 2003 04:51:45 +0000 (04:51 +0000)
まうバグを修正.

src/spells3.c

index ad1d394..17d3022 100644 (file)
@@ -455,7 +455,7 @@ void teleport_player_to(int ny, int nx, bool no_tele, bool passive)
                }
 
                /* Accept any grid when wizard mode */
-               if (p_ptr->wizard) break;
+               if (p_ptr->wizard && !passive) break;
 
                /* Accept teleportable floor grids */
                if (cave_teleportable_bold(y, x, passive)) break;