srogue: don't display a room when a monster steps on a teleport trap.

This commit is contained in:
John "Elwin" Edwards 2011-11-09 18:41:21 +00:00
parent 75f5abe998
commit f0a6e6d37c

View file

@ -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);