From e5db234d57ff8e71c3780903aef07ddc43afab2e Mon Sep 17 00:00:00 2001 From: haranp Date: Tue, 10 Feb 2009 08:27:18 +0000 Subject: Fix [2583985]: autoexplore not refreshing stats when T&D skill prevents walking into a trap. There could be other places lurking where turn_is_over is manually overriden, but a quick check didn't find any problematic ones (i.e. ones that change game state.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9023 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 753fdc7a0b..76bd7e5b0d 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -160,14 +160,15 @@ bool move_player_to_grid( const coord_def& p, bool stepped, bool allow_shift, viewwindow(true, false); - mprf( MSGCH_WARN, - "Wait a moment, %s! Do you really want to step there?", - you.your_name ); + mprf(MSGCH_WARN, + "Wait a moment, %s! Do you really want to step there?", + you.your_name); if (!you.running.is_any_travel()) more(); - exercise( SK_TRAPS_DOORS, 3 ); + exercise(SK_TRAPS_DOORS, 3); + print_stats(); you.turn_is_over = false; -- cgit v1.2.3-54-g00ecf