Skip to content

Fix segfalt in QuickKeysMenu when item is nolonger in inventory

Finbar Crago requested to merge finbar-crago/openmw:fix_quickkey_segfalt into master

Fixes segfalt when a item allocated to a quick key that is no longer in the players inventory is called (also the tooltip on the item in F1 dialog)

I added a MWWorld::ContainerStore to hold a copy of items allocated to quick keys then retrieve the real items with findReplacement, there is probably a better solution but it was 3am and I haven't had to deal with c++ in several years...

Merge request reports