From 401c228a8c9fbbf99ab8309f337e0ea9896c3769 Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Tue, 10 Nov 2009 20:02:26 -0800 Subject: misc.cc: Extra leave-dungeon prompt in tutorial During tutorial mode, ask a second time if the player is *sure* they want to leave the dungeon. --- crawl-ref/source/misc.cc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'crawl-ref/source') diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index cf5edf04c4..0c4d997d89 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -1842,6 +1842,15 @@ void up_stairs(dungeon_feature_type force_stair, && (!yesno("Are you sure you want to leave the Dungeon?", false, 'n') || !_check_carrying_orb())) { + if (Options.tutorial_left) + { + if (!yesno("Are you *sure*? Doing so will end the game!", false, + 'n')) + { + mpr("Alright."); + return; + } + } mpr("Alright, then stay!"); return; } -- cgit v1.2.3-54-g00ecf