]> granicus.if.org Git - nethack/commitdiff
new hack: and we try dungeon.c and eat.c
authorkeni <keni>
Fri, 30 Dec 2011 03:50:15 +0000 (03:50 +0000)
committerkeni <keni>
Fri, 30 Dec 2011 03:50:15 +0000 (03:50 +0000)
src/dungeon.c
src/eat.c

index c0907695b5eecc1ce3483dba166ed190a29c608a..b692922e57a9986fafc516c15946cc9eec55ed3b 100644 (file)
@@ -725,7 +725,7 @@ init_dungeons()             /* initialize the "dungeon" structs */
            interject_assistance(1, INTERJECT_PANIC, (genericptr_t)tbuf,
                                 (genericptr_t)fqn_prefix[DATAPREFIX]);
 #endif
-           panic(tbuf);
+           panic1(tbuf);
        }
 
        /* validate the data's version against the program's version */
index 6d01bf4ca05afd421932f56fb62e79f55c8f4f97..58eafcd2cab372a03c7e3b8cd8c18dcaf55f123a 100644 (file)
--- a/src/eat.c
+++ b/src/eat.c
@@ -441,7 +441,7 @@ boolean message;
        occupation = 0; /* do this early, so newuhs() knows we're done */
        newuhs(FALSE);
        if (nomovemsg) {
-               if (message) pline(nomovemsg);
+               if (message) pline1(nomovemsg);
                nomovemsg = 0;
        } else if (message)
                You("finish eating %s.", food_xname(context.victual.piece, TRUE));
@@ -1300,7 +1300,7 @@ const char *mesg;
        goto use_up_tin;
     }
 
-    pline(mesg);       /* "You succeed in opening the tin." */
+    pline1(mesg);      /* "You succeed in opening the tin." */
 
     if (r != SPINACH_TIN) {
        mnum = tin->corpsenm;
@@ -1527,7 +1527,7 @@ struct obj *obj;
        } else if(!rn2(4) && !Blind) {
                pline("Everything suddenly goes dark.");
                make_blinded((long)d(2,10),FALSE);
-               if (!Blind) Your(vision_clears);
+               if (!Blind) Your1(vision_clears);
        } else if(!rn2(3)) {
                const char *what, *where;
                int duration = rnd(10);