summaryrefslogtreecommitdiff
path: root/src/cmd2.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2010-01-08 22:55:59 +0100
committerBardur Arantsson <bardur@scientician.net>2010-01-08 23:46:23 +0100
commitf7eb880a91dc00f0531fe6a6ec795fe56ae5fc3f (patch)
tree2c85e919f22ec7c00ecd923266e48ada19c8c126 /src/cmd2.c
parent884505957dbd7caf37642e8330e10d0b71d47554 (diff)
Import fix from CVS: Don't generate impassable glass walls.
Diffstat (limited to 'src/cmd2.c')
-rw-r--r--src/cmd2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd2.c b/src/cmd2.c
index 27c64ed7..c962926e 100644
--- a/src/cmd2.c
+++ b/src/cmd2.c
@@ -2162,7 +2162,7 @@ void do_cmd_disarm_mon_trap(int y, int x)
{
msg_print("You disarm the monster trap.");
- place_floor(y, x);
+ place_floor_convert_glass(y, x);
cave[p_ptr->py][p_ptr->px].special = cave[p_ptr->py][p_ptr->px].special2 = 0;
}