remove and transfer INVISIBLE_OBJECTS to branch

This commit is contained in:
Derek S. Ray
2015-02-17 13:58:27 -05:00
committed by Sean Hunt
parent 5ee52039ca
commit 4dddb97301
15 changed files with 12 additions and 133 deletions

View File

@@ -303,11 +303,6 @@ unsigned corpseflags;
*/
if (Blind && !sensemon(mtmp)) obj->dknown = 0;
#ifdef INVISIBLE_OBJECTS
/* Invisible monster ==> invisible corpse */
obj->oinvis = mtmp->minvis;
#endif
stackobj(obj);
newsym(x, y);
return obj;
@@ -858,9 +853,6 @@ mpickstuff(mtmp, str)
if (!touch_artifact(otmp,mtmp)) continue;
if (!can_carry(mtmp,otmp)) continue;
if (is_pool(mtmp->mx,mtmp->my)) continue;
#ifdef INVISIBLE_OBJECTS
if (otmp->oinvis && !perceives(mtmp->data)) continue;
#endif
if (cansee(mtmp->mx,mtmp->my) && flags.verbose)
pline("%s picks up %s.", Monnam(mtmp),
(distu(mtmp->mx, mtmp->my) <= 5) ?