Skip to content

Commit

Permalink
Removed SPIRIT_CLASS from def_srt_order. As with VENOM_CLASS objects,…
Browse files Browse the repository at this point in the history
… spirits should never be in a player's inventory - and don't need to be defined in the sorting order.
  • Loading branch information
elunna committed Oct 17, 2023
1 parent 72c0925 commit bb9119b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/invent.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ struct obj *obj;
static char def_srt_order[MAXOCLASSES] = {
COIN_CLASS, AMULET_CLASS, RING_CLASS, WAND_CLASS, POTION_CLASS,
SCROLL_CLASS, SPBOOK_CLASS, GEM_CLASS, FOOD_CLASS, TOOL_CLASS,
WEAPON_CLASS, ARMOR_CLASS, ROCK_CLASS, BALL_CLASS, CHAIN_CLASS,
SPIRIT_CLASS, 0,
WEAPON_CLASS, ARMOR_CLASS, ROCK_CLASS, BALL_CLASS, CHAIN_CLASS,
0,
};
static char armcat[8];
const char *classorder;
Expand Down

0 comments on commit bb9119b

Please sign in to comment.