summaryrefslogtreecommitdiff
path: root/src/monster2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/monster2.c')
-rw-r--r--src/monster2.c6
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)
{