]> granicus.if.org Git - nethack/commitdiff
no sacrificing while swallowed
authorcohrs <cohrs>
Mon, 1 Apr 2002 01:37:26 +0000 (01:37 +0000)
committercohrs <cohrs>
Mon, 1 Apr 2002 01:37:26 +0000 (01:37 +0000)
doc/fixes34.1
src/pray.c

index 2513124989eee65f22ddd1e37467fba3bf17db98..dc1836f1258a4cad8898a858150ae3711d3f35fc 100644 (file)
@@ -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
index 1d2280e72ff277f70eabae64567f2355fc3c2825..cc845683f62638721f4a82ba857e27c9f92bbbc2 100644 (file)
@@ -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;
     }