diff options
Diffstat (limited to 'crawl-ref/source/spl-transloc.cc')
-rw-r--r-- | crawl-ref/source/spl-transloc.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/crawl-ref/source/spl-transloc.cc b/crawl-ref/source/spl-transloc.cc index 06f6e37ddc..b491540218 100644 --- a/crawl-ref/source/spl-transloc.cc +++ b/crawl-ref/source/spl-transloc.cc @@ -848,10 +848,12 @@ spret_type cast_apportation(int pow, bolt& beam, bool fail) item_def& item = mitm[item_idx]; - // Can't apport the Orb in zotdef - if (crawl_state.game_is_zotdef() && item_is_orb(item)) + // Can't apport the Orb in zotdef or sprint + if (item_is_orb(item) + && (crawl_state.game_is_zotdef() + || crawl_state.game_is_sprint())) { - mpr("You cannot apport the sacred Orb!"); + mpr("You cannot apport the Orb!"); return SPRET_ABORT; } |