ihhub / fheroes2

fheroes2 is a recreation of Heroes of Might and Magic II game engine.
https://ihhub.github.io/fheroes2/
GNU General Public License v2.0
2.58k stars 360 forks source link

Fix the display of identical artifacts captured in battle #8845

Closed oleg-derevenetz closed 4 days ago

oleg-derevenetz commented 1 week ago

fix #8844

Although there is nothing particularly wrong with a comparison using addresses of artifact names' strings, I still changed the comparisons to use artifact IDs.

ihhub commented 4 days ago

@oleg-derevenetz , many thanks for this fix!