From 80f31bee412fa01db4611cdd27862db6a34d419c Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Thu, 26 Jun 2008 21:30:33 +0000 Subject: Fix another two instances of monster placement returning false instead of -1. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6155 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 2990c6a726..a0acffc7c2 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -189,6 +189,7 @@ bool move_player_to_grid( int x, int y, bool stepped, bool allow_shift, if (!yes_or_no("Do you really want to step into the Zot trap")) { canned_msg(MSG_OK); + stop_running(); you.turn_is_over = false; return (false); } @@ -215,6 +216,7 @@ bool move_player_to_grid( int x, int y, bool stepped, bool allow_shift, if (!yesno(prompt.c_str(), true, 'n')) { canned_msg(MSG_OK); + stop_running(); you.turn_is_over = false; return (false); } -- cgit v1.2.3-54-g00ecf