Cataclysm-dda: Weird sort order (unspecified?) for worn items

Created on 29 Nov 2016  路  4Comments  路  Source: CleverRaven/Cataclysm-DDA

Some menus display worn items as weirdly sorted, as if the sorting relied on std::map sort order rather than the index in worn vector.

Notably take off function.

<Bug> Info / User Interface

Most helpful comment

Noted. I'll take a look.

All 4 comments

Noted. I'll take a look.

as if the sorting relied on std::map sort order rather than the index in worn vector.

They're sorted alphabetically (like the rest of items). This is probably undesirable.

They are also sorted by condition. Reinforced items will appear first.

They are also sorted by condition. Reinforced items will appear first.

I think it's a coincidence.

Was this page helpful?
0 / 5 - 0 ratings