fix #H4597 - sitting on level teleport trap
During #sit: "You sit down. You step on a level teleporter." Switch to alternate phrasing for #sit. Webs and polymorph traps had similar issues.
This commit is contained in:
@@ -872,12 +872,20 @@ struct trap *trap;
|
||||
}
|
||||
|
||||
void
|
||||
level_tele_trap(trap)
|
||||
level_tele_trap(trap, trflags)
|
||||
struct trap *trap;
|
||||
unsigned trflags;
|
||||
{
|
||||
You("%s onto a level teleport trap!",
|
||||
Levitation ? (const char *) "float"
|
||||
: locomotion(youmonst.data, "step"));
|
||||
char verbbuf[BUFSZ];
|
||||
|
||||
if ((trflags & VIASITTING) != 0)
|
||||
Strcpy(verbbuf, "trigger"); /* follows "You sit down." */
|
||||
else
|
||||
Sprintf(verbbuf, "%s onto",
|
||||
Levitation ? (const char *) "float"
|
||||
: locomotion(youmonst.data, "step"));
|
||||
You("%s a level teleport trap!", verbbuf);
|
||||
|
||||
if (Antimagic) {
|
||||
shieldeff(u.ux, u.uy);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user