diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-02-18 13:51:36 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-03-29 20:41:31 +0200 |
commit | b63cc899aeedd7c6704b30738998591f327afbef (patch) | |
tree | 834185388b192fe2fbeae3abe713fb51e5c160bc /src/monster2.c | |
parent | f5bd542881c50c9295fdb5a541ef7d6e36173815 (diff) |
Refactor: Remove unused/dead variables.
Diffstat (limited to 'src/monster2.c')
-rw-r--r-- | src/monster2.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/monster2.c b/src/monster2.c index 841a6428..c633d5cf 100644 --- a/src/monster2.c +++ b/src/monster2.c @@ -2114,7 +2114,7 @@ bool_ place_monster_one_no_drop = FALSE; monster_race *place_monster_one_race = NULL; s16b place_monster_one(int y, int x, int r_idx, int ego, bool_ slp, int status) { - int i, base; + int i; char dummy[5]; bool_ add_level = FALSE; int min_level = 0, max_level = 0; @@ -2591,10 +2591,6 @@ s16b place_monster_one(int y, int x, int r_idx, int ego, bool_ slp, int status) if (i) m_ptr->mspeed += rand_spread(0, i); } - /* Need to match dungeon level ? */ - base = dun_level; - if (dungeon_flags2 & DF2_ADJUST_LEVEL_PLAYER) - base = p_ptr->lev * 2; if (dungeon_flags2 & DF2_ADJUST_LEVEL_1_2) { |