Skip to content

Commit

Permalink
fix mimics
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellmonk committed Mar 11, 2017
1 parent f6453ce commit 1fdc988
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crawl-ref/source/terrain.cc
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,12 @@ bool feat_is_valid_border(dungeon_feature_type feat)
*/
bool feat_is_mimicable(dungeon_feature_type feat, bool strict)
{
if (!strict && feat != DNGN_FLOOR && feat != DNGN_SHALLOW_WATER
&& feat != DNGN_DEEP_WATER)
{
return true;
}

if (feat_is_portal_entrance(feat))
return true;

Expand Down

0 comments on commit 1fdc988

Please sign in to comment.