diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-12-26 02:32:03 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-12-26 12:52:42 +0100 |
commit | c353d41a74bee96c425a6cf0acbe9499e1ac5f0e (patch) | |
tree | e23a4a90dd0a1835699b032ab5bab270230be871 /crawl-ref/source/env.h | |
parent | 0da678df97314b19afc1fc883fbc6173917326a9 (diff) | |
download | crawl-ref-c353d41a74bee96c425a6cf0acbe9499e1ac5f0e.tar.gz crawl-ref-c353d41a74bee96c425a6cf0acbe9499e1ac5f0e.zip |
Let "anon friendly monster" mindices provide a valid monster/actor.
This also lets them work with the new monster id system, as it's likely
they will be used together unless we decide to migrate completely.
Diffstat (limited to 'crawl-ref/source/env.h')
-rw-r--r-- | crawl-ref/source/env.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/env.h b/crawl-ref/source/env.h index 32b1d65048..2f7c3fec86 100644 --- a/crawl-ref/source/env.h +++ b/crawl-ref/source/env.h @@ -21,7 +21,7 @@ struct crawl_environment uint8_t floor_colour; FixedVector< item_def, MAX_ITEMS > item; // item list - FixedVector< monster, MAX_MONSTERS > mons; // monster list + FixedVector< monster, MAX_MONSTERS+1 > mons; // monster list, plus anon feature_grid grid; // terrain grid FixedArray<terrain_property_t, GXM, GYM> pgrid; // terrain properties |