summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-place.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-03-17 11:10:15 +0100
committerRobert Vollmert <rvollmert@gmx.net>2010-03-17 11:55:36 +0100
commiteee2a1418045006b132907a3981166df04ac1529 (patch)
treed3f9f549fe7c19c19bdb9c1ca0303f886f7d93f4 /crawl-ref/source/mon-place.h
parentb4fccc77727ff17bba9d7ba61fb6f66f70fe8b83 (diff)
downloadcrawl-ref-eee2a1418045006b132907a3981166df04ac1529.tar.gz
crawl-ref-eee2a1418045006b132907a3981166df04ac1529.zip
Document create_monster return value.
Diffstat (limited to 'crawl-ref/source/mon-place.h')
-rw-r--r--crawl-ref/source/mon-place.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-place.h b/crawl-ref/source/mon-place.h
index bd64814e3e..f235b74ffc 100644
--- a/crawl-ref/source/mon-place.h
+++ b/crawl-ref/source/mon-place.h
@@ -18,6 +18,7 @@ struct mgen_data;
* a "puff of smoke" message if the monster cannot be placed. This is usually
* used for summons and other monsters that want to appear near a given
* position like a summon.
+ * Returns -1 on failure, index into env.mons otherwise.
* *********************************************************************** */
int create_monster(mgen_data mg, bool fail_msg = true);