diff options
author | Bardur Arantsson <bardur@scientician.net> | 2010-01-08 22:55:59 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2010-01-08 23:46:23 +0100 |
commit | f7eb880a91dc00f0531fe6a6ec795fe56ae5fc3f (patch) | |
tree | 2c85e919f22ec7c00ecd923266e48ada19c8c126 /src/spells1.c | |
parent | 884505957dbd7caf37642e8330e10d0b71d47554 (diff) |
Import fix from CVS: Don't generate impassable glass walls.
Diffstat (limited to 'src/spells1.c')
-rw-r--r-- | src/spells1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/spells1.c b/src/spells1.c index 6a4c362f..8f9c38c3 100644 --- a/src/spells1.c +++ b/src/spells1.c @@ -3252,7 +3252,7 @@ static bool project_f(int who, int r, int y, int x, int dam, int typ) if (f) { - if (f == FEAT_FLOOR) place_floor(y, x); + if (f == FEAT_FLOOR) place_floor_convert_glass(y, x); else cave_set_feat(y, x, f); if (seen) obvious = TRUE; @@ -3341,7 +3341,7 @@ static bool project_f(int who, int r, int y, int x, int dam, int typ) /* Remove the feature */ if (!(f_info[c_ptr->feat].flags1 & FF1_PERMANENT)) - place_floor(y, x); + place_floor_convert_glass(y, x); } /* Hack -- Force redraw */ @@ -3411,7 +3411,7 @@ static bool project_f(int who, int r, int y, int x, int dam, int typ) /* Remove the feature */ if (!(f_info[c_ptr->feat].flags1 & FF1_PERMANENT)) - place_floor(y, x); + place_floor_convert_glass(y, x); /* Hack -- Force redraw */ note_spot(y, x); |