summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-08 21:14:40 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-08 21:14:40 +0000
commit34bb40ababedcea0f05e00b7a41cdaffaf216357 (patch)
tree580e60c1731d7a1c8ab775971a2e91067d040f5d
parent1688c6756463c584f8130785a7f84dfece538fdf (diff)
downloadcrawl-ref-34bb40ababedcea0f05e00b7a41cdaffaf216357.tar.gz
crawl-ref-34bb40ababedcea0f05e00b7a41cdaffaf216357.zip
Remove unused variable.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3224 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/religion.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index a0f8652332..4aa9d6708f 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -2667,12 +2667,11 @@ bool followers_abandon_you()
if ( ystart < 0 ) ystart = 0;
if ( xend >= GXM ) xend = GXM;
if ( ystart >= GYM ) yend = GYM;
-
+
bool reconvert = false;
int num_reconvert = 0;
int num_followers = 0;
- std::vector<const monsters *> mons;
// monster check
for ( int y = ystart; y < yend; ++y )
{
@@ -2687,7 +2686,7 @@ bool followers_abandon_you()
&& (monster->flags & MF_CONVERT_ATTEMPT))
{
num_followers++;
-
+
if (mons_player_visible(monster)
&& !mons_is_confused(monster)
&& !mons_is_paralysed(monster))
@@ -2738,7 +2737,7 @@ bool followers_abandon_you()
}
chan << std::endl;
-
+
return true;
}
}