Mercurial > hg > early-roguelike
changeset 57:fdc588551178
srogue: don't display a room when a monster steps on a teleport trap.
author | elwin |
---|---|
date | Wed, 09 Nov 2011 18:41:21 +0000 |
parents | 3c5682bbf164 |
children | c6d58901ddc0 |
files | srogue/wizard.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/srogue/wizard.c Fri Oct 28 16:00:05 2011 +0000 +++ b/srogue/wizard.c Wed Nov 09 18:41:21 2011 +0000 @@ -322,7 +322,8 @@ 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);