Unify blind feel_location or newsym info single func

This commit is contained in:
Pasi Kallinen
2015-11-09 21:37:28 +02:00
parent 7132f56901
commit 2c0f24896f
8 changed files with 29 additions and 44 deletions

View File

@@ -401,19 +401,13 @@ register struct obj *obj;
case SDOOR:
You_hear(hollow_str, "door");
cvt_sdoor_to_door(lev); /* ->typ = DOOR */
if (Blind)
feel_location(rx, ry);
else
newsym(rx, ry);
feel_newsym(rx, ry);
return res;
case SCORR:
You_hear(hollow_str, "passage");
lev->typ = CORR;
unblock_point(rx, ry);
if (Blind)
feel_location(rx, ry);
else
newsym(rx, ry);
feel_newsym(rx, ry);
return res;
}