summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-10 06:57:43 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-10 06:57:43 +0000
commitf8179d2e319879c5cdfa9083efb7edc1327c9bb5 (patch)
treed9f1278b9110867a088669744c3d501f84f26d0a
parent31d4e1ba720aab96fe941a684822444b88d63f1d (diff)
downloadcrawl-ref-f8179d2e319879c5cdfa9083efb7edc1327c9bb5.tar.gz
crawl-ref-f8179d2e319879c5cdfa9083efb7edc1327c9bb5.zip
Removed unused monster_floundering function (Haran).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1280 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/monplace.cc7
-rw-r--r--crawl-ref/source/monplace.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc
index f24325525b..7ba66f56e1 100644
--- a/crawl-ref/source/monplace.cc
+++ b/crawl-ref/source/monplace.cc
@@ -96,13 +96,6 @@ bool monster_habitable_grid(int monster_class, int actual_grid, bool flies)
&& grid_compatible(DNGN_FLOOR, actual_grid)));
}
-// Returns true if the monster is floundering in water and susceptible to
-// extra damage from water-natives.
-bool monster_floundering(const monsters *m)
-{
- return (m->floundering());
-}
-
// Returns true if the monster can submerge in the given grid
bool monster_can_submerge(int monster_class, int grid)
{
diff --git a/crawl-ref/source/monplace.h b/crawl-ref/source/monplace.h
index 5f00448a2b..961e152c3a 100644
--- a/crawl-ref/source/monplace.h
+++ b/crawl-ref/source/monplace.h
@@ -96,7 +96,6 @@ bool grid_compatible(int grid_wanted, int actual_grid, bool generation = false);
bool monster_habitable_grid(int monster_class, int actual_grid,
bool flies = false);
bool monster_habitable_grid(const monsters *m, int actual_grid);
-bool monster_floundering(const monsters *m);
bool monster_can_submerge(int monster_class, int grid);
#endif // MONPLACE_H