1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-21 08:39:45 +00:00

Remove gobjefct

This commit is contained in:
Zackhasacat 2023-08-28 08:50:25 -05:00
parent 5fdaee093a
commit 95c736d54e

View file

@ -13,6 +13,6 @@ namespace MWLua
item["setEnchantmentCharge"]
= [](const GObject& object, float charge) { object.ptr().getCellRef().setEnchantmentCharge(charge); };
item["isRestocking"]
= [](const GObject& object) -> bool { return object.ptr().getRefData().getCount(false) < 0; };
= [](const Object& object) -> bool { return object.ptr().getRefData().getCount(false) < 0; };
}
}