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

@@ -979,10 +979,6 @@ register struct obj *obj;
}
unbless(obj);
uncurse(obj);
#ifdef INVISIBLE_OBJECTS
/*[this will be insufficient if it ever reduces obj's shop value]*/
if (obj->oinvis) obj->oinvis = 0;
#endif
return;
}
@@ -1833,10 +1829,6 @@ struct obj *obj, *otmp;
(void) rloco(obj);
break;
case WAN_MAKE_INVISIBLE:
#ifdef INVISIBLE_OBJECTS
obj->oinvis = TRUE;
newsym(obj->ox,obj->oy); /* make object disappear */
#endif
break;
case WAN_UNDEAD_TURNING:
case SPE_TURN_UNDEAD: