From: keni Date: Fri, 30 Dec 2011 03:50:15 +0000 (+0000) Subject: new hack: and we try dungeon.c and eat.c X-Git-Tag: MOVE2GIT~117 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=30193b9364fd4c30bfeb83f8c30b257bc614e2af;p=nethack new hack: and we try dungeon.c and eat.c --- diff --git a/src/dungeon.c b/src/dungeon.c index c0907695b..b692922e5 100644 --- a/src/dungeon.c +++ b/src/dungeon.c @@ -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 */ diff --git a/src/eat.c b/src/eat.c index 6d01bf4ca..58eafcd2c 100644 --- 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);