summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-02 14:44:15 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-02 14:44:15 +0000
commit49401e18692e235ddd101c51073d93d96a33954e (patch)
treecb0b7ebf262dbef83021c6e0497407d47993373a /crawl-ref/source/effects.cc
parente37ab8471fcc8761a0d4a4954918ec4c679ed1bb (diff)
downloadcrawl-ref-49401e18692e235ddd101c51073d93d96a33954e.tar.gz
crawl-ref-49401e18692e235ddd101c51073d93d96a33954e.zip
Added allow_self_target option, with possible values yes, no, prompt.
Added brief documentation (could be improved.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6339 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index c8612dc3a3..8df2cee58c 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -301,7 +301,7 @@ void banished(dungeon_feature_type gate_type, const std::string &who)
}
#endif
- std::string cast_into = "";
+ std::string cast_into;
switch (gate_type)
{