summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-03 06:31:03 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-03 06:31:03 +0000
commite0c16e3e44b4b97c89f590fa063c0d6bb341fe50 (patch)
treee91429b6374df49fc8fb8fe691fdc2c52c7ba6c0 /crawl-ref/source/makeitem.h
parent07eadf8e4cf3dd61fa66d194720143685ab84174 (diff)
downloadcrawl-ref-e0c16e3e44b4b97c89f590fa063c0d6bb341fe50.tar.gz
crawl-ref-e0c16e3e44b4b97c89f590fa063c0d6bb341fe50.zip
Merge r7726 from trunk: set acquirement source on items early enough that
it can be used by make_item_randart(). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@7727 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makeitem.h')
-rw-r--r--crawl-ref/source/makeitem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/makeitem.h b/crawl-ref/source/makeitem.h
index 5409f008dc..b5d1889109 100644
--- a/crawl-ref/source/makeitem.h
+++ b/crawl-ref/source/makeitem.h
@@ -24,7 +24,7 @@ enum item_make_species_type
int items( int allow_uniques, object_class_type force_class, int force_type,
bool dont_place, int item_level, int item_race,
- unsigned mapmask = 0, int force_ego = 0 );
+ unsigned mapmask = 0, int force_ego = 0, int agent = -1 );
void item_colour( item_def &item );
void init_rod_mp(item_def &item);