lookat() trapped detail
<email deleted> Sent: Thursday, June 13, 2002 12:03 PM Subject: Beta 1 comments >A minor thing, but it'd be nice if the "trapped" now in lookat() >had a defsyms[trap_to_defsym(tt)].explanation to tell you _how_ >the monster's trapped.
This commit is contained in:
@@ -127,8 +127,10 @@ lookat(x, y, buf, monbuf)
|
||||
|
||||
/* newsym lets you know of the trap, so mention it here */
|
||||
if (tt == BEAR_TRAP || tt == PIT ||
|
||||
tt == SPIKED_PIT ||tt == WEB)
|
||||
Strcat(buf, ", trapped");
|
||||
tt == SPIKED_PIT ||tt == WEB) {
|
||||
Strcat(buf, ", trapped in ");
|
||||
Strcat(buf, defsyms[trap_to_defsym(tt)].explanation);
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user