1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-04-16 17:42:31 +00:00

Merge branch 'ptmikheev-master-patch-74509' into 'master'

Fast fix in cellbindings.cpp

See merge request OpenMW/openmw!2050
This commit is contained in:
psi29a 2022-06-25 07:04:01 +00:00
commit 47cfaef7d2

View File

@ -41,7 +41,7 @@ namespace MWLua
cellT["isExterior"] = sol::readonly_property([](const CellT& c) { return c.mStore->isExterior(); }); cellT["isExterior"] = sol::readonly_property([](const CellT& c) { return c.mStore->isExterior(); });
cellT["isQuasiExterior"] = sol::readonly_property([](const CellT& c) cellT["isQuasiExterior"] = sol::readonly_property([](const CellT& c)
{ {
return c.mStore->getCell()->mData.mFlags & ESM::Cell::QuasiEx; return (c.mStore->getCell()->mData.mFlags & ESM::Cell::QuasiEx) != 0;
}); });
cellT["isInSameSpace"] = [](const CellT& c, const ObjectT& obj) cellT["isInSameSpace"] = [](const CellT& c, const ObjectT& obj)