next try: do.c (three lines of comment - #1)

comment line 2
comment line 3
This commit is contained in:
keni
2011-12-29 21:49:27 +00:00
parent 5542cd9e6b
commit 3453ddedbd
+5 -5
View File
@@ -927,7 +927,7 @@ currentlevel_rewrite()
* Another possibility is that the directory was not * Another possibility is that the directory was not
* writable. * writable.
*/ */
pline("%s", whynot); pline1(whynot);
return -1; return -1;
} }
@@ -1141,7 +1141,7 @@ boolean at_stairs, falling, portal;
/* returning to previously visited level; reload it */ /* returning to previously visited level; reload it */
fd = open_levelfile(new_ledger, whynot); fd = open_levelfile(new_ledger, whynot);
if (fd < 0) { if (fd < 0) {
pline("%s", whynot); pline1(whynot);
pline("Probably someone removed it."); pline("Probably someone removed it.");
Strcpy(killer.name, whynot); Strcpy(killer.name, whynot);
done(TRICKED); done(TRICKED);
@@ -1351,7 +1351,7 @@ boolean at_stairs, falling, portal;
Sprintf(buf, mesg, !Blind ? "looks" : "seems"); Sprintf(buf, mesg, !Blind ? "looks" : "seems");
mesg = buf; mesg = buf;
} }
if (mesg) pline(mesg); if (mesg) pline1(mesg);
} }
/* special location arrival messages/events */ /* special location arrival messages/events */
@@ -1458,7 +1458,7 @@ deferred_goto()
int typmask = u.utotype; /* save it; goto_level zeroes u.utotype */ int typmask = u.utotype; /* save it; goto_level zeroes u.utotype */
assign_level(&dest, &u.utolev); 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)); goto_level(&dest, !!(typmask&1), !!(typmask&2), !!(typmask&4));
if (typmask & 0200) { /* remove portal */ if (typmask & 0200) { /* remove portal */
struct trap *t = t_at(u.ux, u.uy); struct trap *t = t_at(u.ux, u.uy);
@@ -1468,7 +1468,7 @@ deferred_goto()
newsym(u.ux, u.uy); 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 */ u.utotype = 0; /* our caller keys off of this */
if (dfr_pre_msg) if (dfr_pre_msg)