--- src/generate.c.v2 2004-09-13 23:13:19.000000000 -0400 +++ src/generate.c 2004-09-18 00:03:18.000000000 -0400 @@ -7467,6 +7467,12 @@ /* Hack, seems like once a room overrode the level boundaries, this is BAD */ set_bounders(empty_level); + /* I think this is supposed to go here instead of in cave_gen(), + * since this is the only function in which empty_level ever gets + * set. --dsb */ + if ((empty_level) && (randint(DARK_EMPTY) != 1 || (randint(100) > dun_level))) + wiz_lite(); + /* Determine the character location */ if (!new_player_spot(branch)) return FALSE;