From baf9c706b45ae9a7fdb353e3cb259498c651616c Mon Sep 17 00:00:00 2001 From: PatR Date: Sat, 11 Aug 2018 16:07:43 -0700 Subject: [PATCH] fix github issue #122 - #turn takes 0 time Fixes #122 When #turn won't work due to angry god or being in Gehennom, it aggravates monsters instead. But that was taking no time. --- doc/fixes36.2 | 1 + src/pray.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/fixes36.2 b/doc/fixes36.2 index 7b1369ddc..eea588236 100644 --- a/doc/fixes36.2 +++ b/doc/fixes36.2 @@ -79,6 +79,7 @@ verbal charm/seduce messages were given even when hero was deaf succubus/incubus seduction might result in loss of levitation which in turn could drop the hero onto a trap that transports him/her elsewhere; seduction was proceeding as if nothing unusual had happened +#turn command which aggravated monsters did so without using a turn (not a pun) Fixes to Post-3.6.1 Problems that Were Exposed Via git Repository diff --git a/src/pray.c b/src/pray.c index d0cb794ae..8d4c5003d 100644 --- a/src/pray.c +++ b/src/pray.c @@ -1939,12 +1939,12 @@ doturn() pline("For some reason, %s seems to ignore you.", u_gname()); aggravate(); exercise(A_WIS, FALSE); - return 0; + return 1; } if (Inhell) { pline("Since you are in Gehennom, %s won't help you.", u_gname()); aggravate(); - return 0; + return 1; } pline("Calling upon %s, you chant an arcane formula.", u_gname()); exercise(A_WIS, TRUE);