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

@@ -1909,28 +1909,6 @@ dodip()
return 1;
}
#ifdef INVISIBLE_OBJECTS
if (potion->otyp == POT_INVISIBILITY && !obj->oinvis) {
obj->oinvis = TRUE;
if (!Blind) {
if (!See_invisible) pline("Where did %s go?",
the(xname(obj)));
else You("notice a little haziness around %s.",
the(xname(obj)));
}
goto poof;
} else if (potion->otyp == POT_SEE_INVISIBLE && obj->oinvis) {
obj->oinvis = FALSE;
if (!Blind) {
if (!See_invisible) pline("So that's where %s went!",
the(xname(obj)));
else pline_The("haziness around %s disappears.",
the(xname(obj)));
}
goto poof;
}
#endif
if(is_poisonable(obj)) {
if(potion->otyp == POT_SICKNESS && !obj->opoisoned) {
char buf[BUFSZ];