From bc721ca0cd58a2ffed55245d300266962cf3c123 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 12 Apr 2009 09:49:39 +0000 Subject: * Fix compilation. * Fix wording of stair slide chaos effect. * Add new stimulation triggers for Xom (monsters being polymorphed, accidentally hasted/healed, or going berserk) which has the side effect of keeping Xom's interest up if you actually use the chaos branded weapon he gifted you. * Greatly reduce stimulation possible from deliberately quaffing bad potions. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9596 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/misc.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/misc.cc') diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index f97da8e21f..5f19ee1974 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -2016,7 +2016,8 @@ void down_stairs( int old_level, dungeon_feature_type force_stair, return; } - if (!force_stair && you.flight_mode() == FL_LEVITATE) + if (!force_stair && you.flight_mode() == FL_LEVITATE + && !is_gate(stair_find)) { mpr("You're floating high up above the floor!"); return; -- cgit v1.2.3-54-g00ecf