summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libutil.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-09 11:47:02 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-09 11:47:02 +0000
commit4c0344b9dd2c823ab6926542a58d3e1407bff7da (patch)
tree2f71bb84f4e6073d03de6723faeb062cbee97fe2 /crawl-ref/source/libutil.h
parent9415865e90bd96e8241e119291275eef655235dc (diff)
downloadcrawl-ref-4c0344b9dd2c823ab6926542a58d3e1407bff7da.tar.gz
crawl-ref-4c0344b9dd2c823ab6926542a58d3e1407bff7da.zip
Turn off autoprayer and autopickup if attacked by an invisible monster.
NOTE: autopickup is turned off only if safe_autopickup is enabled. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@817 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libutil.h')
-rw-r--r--crawl-ref/source/libutil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/libutil.h b/crawl-ref/source/libutil.h
index 084a7318d9..be30ec5ebd 100644
--- a/crawl-ref/source/libutil.h
+++ b/crawl-ref/source/libutil.h
@@ -94,7 +94,7 @@ std::string comma_separated_line(Z start, Z end)
text += " and ";
}
- text += i->name;
+ text += *i;
}
return (text);
}