1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-04-01 04:20:20 +00:00

Fast fix in cellbindings.cpp

This commit is contained in:
Petr Mikheev 2022-06-24 23:41:11 +00:00
parent cd484cf082
commit 50b143b53f

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)