1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-02 01:06:40 +00:00

Consider empty RefId as absent exterior cell

This commit is contained in:
elsid 2023-04-04 01:00:53 +02:00
parent a9c7354338
commit b7b68bd164
No known key found for this signature in database
GPG key ID: 4DE04C198CBA7625

View file

@ -352,7 +352,7 @@ namespace MWWorld
if (bypass && !mStartCell.empty())
{
ESM::Position pos;
if (findExteriorPosition(mStartCell, pos).empty())
if (!findExteriorPosition(mStartCell, pos).empty())
{
changeToExteriorCell(pos, true);
adjustPosition(getPlayerPtr(), false);