srogue: don't display a room when a monster steps on a teleport trap.
This commit is contained in:
parent
75f5abe998
commit
f0a6e6d37c
1 changed files with 2 additions and 1 deletions
|
|
@ -322,7 +322,8 @@ struct thing *th;
|
|||
rm = rp - &rooms[0];
|
||||
th->t_room = rp;
|
||||
th->t_oldch = mvwinch(cw, th->t_pos.y, th->t_pos.x);
|
||||
light(&oldspot);
|
||||
if (ishero)
|
||||
light(&oldspot);
|
||||
th->t_nomove = 0;
|
||||
if (ishero) {
|
||||
light(&hero);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue