Hidden holes made by breaking a wand of digging

Holes created via applying a wand of digging were not
shown on the map, because holes are always marked as seen,
and seetrap/feeltrap then do nothing.
This commit is contained in:
Pasi Kallinen
2015-05-06 18:02:11 +03:00
parent 9de8b03c03
commit b8e0394a2e

View File

@@ -569,6 +569,7 @@ int ttyp;
if (!ttmp) return;
newobjs = level.objects[x][y];
ttmp->madeby_u = madeby_u;
ttmp->tseen = 0;
if (cansee(x,y)) seetrap(ttmp);
else if (madeby_u) feeltrap(ttmp);