Show the teleportation messages only with flags.verbose
This commit is contained in:
+9
-4
@@ -355,8 +355,11 @@ boolean allow_drag;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
You("materialize in %s location!",
|
|
||||||
(nux == u.ux0 && nuy == u.uy0) ? "the same" : "a different");
|
if (flags.verbose)
|
||||||
|
You("materialize in %s location!",
|
||||||
|
(nux == u.ux0 && nuy == u.uy0) ? "the same" : "a different");
|
||||||
|
|
||||||
/* must set u.ux, u.uy after drag_ball(), which may need to know
|
/* must set u.ux, u.uy after drag_ball(), which may need to know
|
||||||
the old position if allow_drag is true... */
|
the old position if allow_drag is true... */
|
||||||
u_on_newpos(nux, nuy); /* set u.<x,y>, usteed-><mx,my>; cliparound() */
|
u_on_newpos(nux, nuy); /* set u.<x,y>, usteed-><mx,my>; cliparound() */
|
||||||
@@ -1017,12 +1020,14 @@ level_tele()
|
|||||||
if (!(wizard && force_dest))
|
if (!(wizard && force_dest))
|
||||||
get_level(&newlevel, newlev);
|
get_level(&newlevel, newlev);
|
||||||
}
|
}
|
||||||
schedule_goto(&newlevel, FALSE, FALSE, 0, (char *) 0, (char *) 0);
|
|
||||||
|
schedule_goto(&newlevel, FALSE, FALSE, 0, (char *) 0,
|
||||||
|
flags.verbose ? "You materialize on a different level!" : (char *)0);
|
||||||
|
|
||||||
/* in case player just read a scroll and is about to be asked to
|
/* in case player just read a scroll and is about to be asked to
|
||||||
call it something, we can't defer until the end of the turn */
|
call it something, we can't defer until the end of the turn */
|
||||||
if (u.utotype && !g.context.mon_moving)
|
if (u.utotype && !g.context.mon_moving)
|
||||||
deferred_goto();
|
deferred_goto();
|
||||||
You("materialize on a different level!");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user