* the saved RNG state at game reload. */
memcpy(saved_state, rng_state, sizeof saved_state);
theme_roll = zero_die(depth + 50);
- if (zero_die(2))
+ if (!zero_die(4))
{
current_layout = LAYOUT_CAVE_INTRUSIONS;
}
- else if (depth < 5)
+ else if ((depth >= 15) && !zero_die(6))
{
- current_layout = LAYOUT_CLASSIC_CAVE;
+ current_layout = LAYOUT_CAVE_SHRINE;
}
- else if (!zero_die(3) && (depth >= 15))
+ else
{
- current_layout = LAYOUT_CAVE_SHRINE;
+ current_layout = LAYOUT_CLASSIC_CAVE;
}
if ((theme_roll < 50) || (depth < 10))
{