Skip to content

Commit

Permalink
Fix: Unknown cards not showing their rarity for cartomancers.
Browse files Browse the repository at this point in the history
  • Loading branch information
elunna committed Nov 17, 2023
1 parent 9c61d28 commit ce6a085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/objnam.c
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ unsigned cxn_flags; /* bitmask of CXN_xxx values */
break;
case SCROLL_CLASS:
if (Role_if(PM_CARTOMANCER)) {
if (!dknown || obj->corpsenm != NON_PM)
if (!nn)
Strcpy(buf, Cartomancer_rarity(typ));
else
Strcpy(buf, "card");
Expand Down

0 comments on commit ce6a085

Please sign in to comment.