summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/evoke.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2014-01-15 03:10:32 +0100
committerAdam Borowski <kilobyte@angband.pl>2014-01-15 03:10:32 +0100
commit5c01cd831c15e88969fe3ecfbc1b859be104266c (patch)
tree372c3971f7374f79287d67b0369bd946bf94f17f /crawl-ref/source/evoke.cc
parent298e3e9e4b6005a2e507c43a8d288de83165b18c (diff)
downloadcrawl-ref-5c01cd831c15e88969fe3ecfbc1b859be104266c.tar.gz
crawl-ref-5c01cd831c15e88969fe3ecfbc1b859be104266c.zip
Don't require playing the horn of Geryon to enter proper hells.
It was just a spoily ritual with no balance effect other than "don't use Tornado, and remember to unwield distortion for this fight".
Diffstat (limited to 'crawl-ref/source/evoke.cc')
-rw-r--r--crawl-ref/source/evoke.cc53
1 files changed, 4 insertions, 49 deletions
diff --git a/crawl-ref/source/evoke.cc b/crawl-ref/source/evoke.cc
index 5c80dc3b47..cd049423b7 100644
--- a/crawl-ref/source/evoke.cc
+++ b/crawl-ref/source/evoke.cc
@@ -260,56 +260,11 @@ static bool _evoke_horn_of_geryon(item_def &item)
mpr("You can't produce a sound!");
return false;
}
- else if (player_in_branch(BRANCH_VESTIBULE))
- {
- mpr("You produce a weird and mournful sound.");
-
- for (int count_x = 0; count_x < GXM; count_x++)
- for (int count_y = 0; count_y < GYM; count_y++)
- {
- if (grd[count_x][count_y] == DNGN_STONE_ARCH)
- {
- rc = true;
-
- map_marker *marker =
- env.markers.find(coord_def(count_x, count_y),
- MAT_FEATURE);
-
- if (marker)
- {
- map_feature_marker *featm =
- dynamic_cast<map_feature_marker*>(marker);
- // [ds] Ensure we're activating the correct feature
- // markers. Feature markers are also used for other
- // things, notably to indicate the return point from
- // a labyrinth or portal vault.
- switch (featm->feat)
- {
- case DNGN_ENTER_COCYTUS:
- case DNGN_ENTER_DIS:
- case DNGN_ENTER_GEHENNA:
- case DNGN_ENTER_TARTARUS:
- grd[count_x][count_y] = featm->feat;
- env.markers.remove(marker);
- item.plus2++;
- break;
- default:
- break;
- }
- }
- }
- }
- if (rc)
- mpr("Your way has been unbarred.");
- }
- else
- {
- mprf(MSGCH_SOUND, "You produce a hideous howling noise!");
- create_monster(
- mgen_data::hostile_at(MONS_HELL_BEAST, "the horn of Geryon",
- true, 4, 0, you.pos()));
- }
+ mprf(MSGCH_SOUND, "You produce a hideous howling noise!");
+ create_monster(
+ mgen_data::hostile_at(MONS_HELL_BEAST, "the horn of Geryon",
+ true, 4, 0, you.pos()));
return rc;
}