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.
This commit is contained in:
PatR
2018-08-11 16:07:43 -07:00
parent 469fb27e2f
commit baf9c706b4
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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);