From 7c224da1e449dafb95af7beb898ed74fb816553e Mon Sep 17 00:00:00 2001 From: cohrs Date: Mon, 1 Apr 2002 01:37:26 +0000 Subject: [PATCH] no sacrificing while swallowed --- doc/fixes34.1 | 1 + src/pray.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/fixes34.1 b/doc/fixes34.1 index 251312498..dc1836f12 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -44,6 +44,7 @@ clarify travel command behavior in the Guidebook touch_artifact checks needed when snagging w/bullwhip and stealing cannot trip over submerged objects if you're water walking wand of striking was not identified if it activated a statue trap +cannot sacrifice while you're swallowed Platform- and/or Interface-Specific Fixes diff --git a/src/pray.c b/src/pray.c index 1d2280e72..cc845683f 100644 --- a/src/pray.c +++ b/src/pray.c @@ -1045,7 +1045,7 @@ dosacrifice() int pm; aligntyp altaralign = a_align(u.ux,u.uy); - if (!on_altar()) { + if (!on_altar() || u.uswallow) { You("are not standing on an altar."); return 0; } -- 2.40.0