diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-26 21:30:33 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-26 21:30:33 +0000 |
commit | 80f31bee412fa01db4611cdd27862db6a34d419c (patch) | |
tree | 1f032864acceb947e4d50df291d8ebafe22c6324 /crawl-ref/source/player.cc | |
parent | c42e7efab8779a54b7e3e486ae83f4af72b15fb9 (diff) | |
download | crawl-ref-80f31bee412fa01db4611cdd27862db6a34d419c.tar.gz crawl-ref-80f31bee412fa01db4611cdd27862db6a34d419c.zip |
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
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |