summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 3aee3dde2f..09cd0d6cce 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -4576,8 +4576,11 @@ bool dgn_place_monster(mons_spec &mspec,
: mid;
const habitat_type habitat = mons_habitat_by_type(type);
- if (habitat != HT_LAND)
+ if (habitat != HT_LAND
+ && (habitat != HT_WATER || !mons_class_amphibious(mid)))
+ {
grd[vx][vy] = habitat2grid(habitat);
+ }
}
mgen_data mg(static_cast<monster_type>(mid));