From: keni Date: Thu, 29 Dec 2011 21:49:27 +0000 (+0000) Subject: next try: do.c (three lines of comment - #1) X-Git-Tag: MOVE2GIT~126 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3453ddedbd1a4f17e495395ff9b4c77365319427;p=nethack next try: do.c (three lines of comment - #1) comment line 2 comment line 3 --- diff --git a/src/do.c b/src/do.c index 841cc0592..d8699db82 100644 --- a/src/do.c +++ b/src/do.c @@ -927,7 +927,7 @@ currentlevel_rewrite() * Another possibility is that the directory was not * writable. */ - pline("%s", whynot); + pline1(whynot); return -1; } @@ -1141,7 +1141,7 @@ boolean at_stairs, falling, portal; /* returning to previously visited level; reload it */ fd = open_levelfile(new_ledger, whynot); if (fd < 0) { - pline("%s", whynot); + pline1(whynot); pline("Probably someone removed it."); Strcpy(killer.name, whynot); done(TRICKED); @@ -1351,7 +1351,7 @@ boolean at_stairs, falling, portal; Sprintf(buf, mesg, !Blind ? "looks" : "seems"); mesg = buf; } - if (mesg) pline(mesg); + if (mesg) pline1(mesg); } /* special location arrival messages/events */ @@ -1458,7 +1458,7 @@ deferred_goto() int typmask = u.utotype; /* save it; goto_level zeroes u.utotype */ assign_level(&dest, &u.utolev); - if (dfr_pre_msg) pline(dfr_pre_msg); + if (dfr_pre_msg) pline1(dfr_pre_msg); goto_level(&dest, !!(typmask&1), !!(typmask&2), !!(typmask&4)); if (typmask & 0200) { /* remove portal */ struct trap *t = t_at(u.ux, u.uy); @@ -1468,7 +1468,7 @@ deferred_goto() newsym(u.ux, u.uy); } } - if (dfr_post_msg) pline(dfr_post_msg); + if (dfr_post_msg) pline1(dfr_post_msg); } u.utotype = 0; /* our caller keys off of this */ if (dfr_pre_msg)