diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-02-10 14:34:25 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-02-10 14:34:54 +0100 |
commit | bbe824de9cef6f746f05939cbc76a4f3ec6e38fd (patch) | |
tree | 618e061b50262da061baf35bda6f84c7ee82b57e /crawl-ref/source/mgen_data.h | |
parent | 923974d928f4dd5977ca8ef1537484b419925ca7 (diff) | |
download | crawl-ref-bbe824de9cef6f746f05939cbc76a4f3ec6e38fd.tar.gz crawl-ref-bbe824de9cef6f746f05939cbc76a4f3ec6e38fd.zip |
Rename hilariously misnamed you.your_level to you.absdepth0.
Diffstat (limited to 'crawl-ref/source/mgen_data.h')
-rw-r--r-- | crawl-ref/source/mgen_data.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mgen_data.h b/crawl-ref/source/mgen_data.h index a43e024141..31aefcbc3b 100644 --- a/crawl-ref/source/mgen_data.h +++ b/crawl-ref/source/mgen_data.h @@ -116,7 +116,7 @@ struct mgen_data monster_type base = MONS_NO_MONSTER, int monnumber = 0, int moncolour = BLACK, - int monpower = you.your_level, + int monpower = you.absdepth0, proximity_type prox = PROX_ANYWHERE, level_area_type ltype = you.level_type, int mhd = 0, int mhp = 0, @@ -165,7 +165,7 @@ struct mgen_data { return mgen_data(mt, BEH_HOSTILE, 0, abj, st, p, alert ? MHITYOU : MHITNOT, - monflags, god, base, 0, BLACK, you.your_level, + monflags, god, base, 0, BLACK, you.absdepth0, PROX_ANYWHERE, you.level_type, 0, 0, 0, "", summoner); } }; |