1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00

remove debug code

This commit is contained in:
kuyondo 2021-11-23 15:14:59 +08:00
parent 503f0e62e7
commit d55682f833

View File

@ -94,7 +94,6 @@ namespace MWGui
{
MWWorld::Ptr item = *mKey[index].button->getUserData<MWWorld::Ptr>();
// Make sure the item is available and is not broken
std::cout << item << std::endl;
if (!item || item.getRefData().getCount() < 1 ||
(item.getClass().hasItemHealth(item) &&
item.getClass().getItemHealth(item) <= 0))