summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/env.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-06-20 23:33:28 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-06-20 23:40:32 +0200
commit05999fbde4b148ee85f4b7ba74554d013637b313 (patch)
tree0592bacd316f9eea7f239b87ce3213d5a126eeb5 /crawl-ref/source/env.h
parent1eab4f807822af671787824f5f31b7fad936445f (diff)
downloadcrawl-ref-05999fbde4b148ee85f4b7ba74554d013637b313.tar.gz
crawl-ref-05999fbde4b148ee85f4b7ba74554d013637b313.zip
Use a #define instead of hardcoded 20 for the size of Pan mons_alloc, reduce that to 10.
Diffstat (limited to 'crawl-ref/source/env.h')
-rw-r--r--crawl-ref/source/env.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/env.h b/crawl-ref/source/env.h
index e24dd0726c..74862b3139 100644
--- a/crawl-ref/source/env.h
+++ b/crawl-ref/source/env.h
@@ -66,7 +66,7 @@ struct crawl_environment
FixedVector< shop_struct, MAX_SHOPS > shop; // shop list
FixedVector< trap_def, MAX_TRAPS > trap; // trap list
- FixedVector< monster_type, 20 > mons_alloc;
+ FixedVector< monster_type, MAX_MONS_ALLOC > mons_alloc;
map_markers markers;
// Place to associate arbitrary data with a particular level.