mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 08:39:45 +00:00
Remove gobjefct
This commit is contained in:
parent
5fdaee093a
commit
95c736d54e
1 changed files with 1 additions and 1 deletions
|
@ -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; };
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue