diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-01-05 14:18:36 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-01-05 14:29:45 +0100 |
commit | 2db87d6d5c94edc73c41230093cc3d1cfe251bf1 (patch) | |
tree | b880787e42f9b8cd56cad86c15fb76c35a6d68b6 /crawl-ref/source/mon-place.h | |
parent | 2b2b927f740c756cb93982818b763432be60d9a4 (diff) | |
download | crawl-ref-2db87d6d5c94edc73c41230093cc3d1cfe251bf1.tar.gz crawl-ref-2db87d6d5c94edc73c41230093cc3d1cfe251bf1.zip |
Make high-level monster creation return monster*
Diffstat (limited to 'crawl-ref/source/mon-place.h')
-rw-r--r-- | crawl-ref/source/mon-place.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-place.h b/crawl-ref/source/mon-place.h index 3a8424654d..7b2dc2a135 100644 --- a/crawl-ref/source/mon-place.h +++ b/crawl-ref/source/mon-place.h @@ -19,13 +19,13 @@ struct mgen_data; * position like a summon. * Returns -1 on failure, index into env.mons otherwise. * *********************************************************************** */ -int create_monster(mgen_data mg, bool fail_msg = true); +monster* create_monster(mgen_data mg, bool fail_msg = true); /* *********************************************************************** * Primary function to create monsters. See mgen_data for details on monster * placement. * *********************************************************************** */ -int mons_place(mgen_data mg); +monster* mons_place(mgen_data mg); /* *********************************************************************** * This isn't really meant to be a public function. It is a low level |