Fix out-of-map condition in buzz

This commit is contained in:
Pasi Kallinen
2015-04-25 06:24:36 +03:00
parent 1eff16afcb
commit 8e6dde226f

View File

@@ -3749,7 +3749,7 @@ register int dx,dy;
unmap_object(sx, sy);
newsym(sx, sy);
}
if(ZAP_POS(lev->typ) || cansee(lsx,lsy))
if(ZAP_POS(lev->typ) || (isok(lsx,lsy) && cansee(lsx,lsy)))
tmp_at(sx,sy);
delay_output(); /* wait a little */
}