From 9f473ab4bb2c7c7bc2f658da9b14173e011ec84b Mon Sep 17 00:00:00 2001 From: haranp Date: Sun, 14 Sep 2008 18:23:57 +0000 Subject: All 't' commands now take a turn. [2094024] git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6929 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/effects.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source') diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index 0cb9c18977..2c41b60bb3 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -1916,7 +1916,7 @@ void yell(bool force) if (!you.duration[DUR_BERSERKER]) { - std::string previous = ""; + std::string previous; if (!(you.prev_targ == MHITNOT || you.prev_targ == MHITYOU)) { monsters *target = &menv[you.prev_targ]; @@ -2021,6 +2021,7 @@ void yell(bool force) return; } + you.turn_is_over = true; you.pet_target = mons_targd; // Allow patrolling for "Stop fighting!" and "Wait here!" _set_friendly_foes(keyn == 's' || keyn == 'w'); -- cgit v1.2.3-54-g00ecf