Skip to content

Commit

Permalink
Marauder's Map vanishes when invoke reveals no magic items (reported …
Browse files Browse the repository at this point in the history
…by Ardub23). Fixes #527
  • Loading branch information
elunna committed Dec 4, 2023
1 parent 41f331e commit 2b269ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/potion.c
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,10 @@ const char *txt;
if (obj->dknown && !objects[obj->otyp].oc_name_known
&& !objects[obj->otyp].oc_uname)
docall(obj);


if (obj->oartifact && obj->oartifact == ART_MARAUDER_S_MAP)
return;

useup(obj);
}

Expand Down

0 comments on commit 2b269ac

Please sign in to comment.