mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 16:20:21 +00:00
Consider empty RefId as absent exterior cell
This commit is contained in:
parent
a9c7354338
commit
b7b68bd164
@ -352,7 +352,7 @@ namespace MWWorld
|
|||||||
if (bypass && !mStartCell.empty())
|
if (bypass && !mStartCell.empty())
|
||||||
{
|
{
|
||||||
ESM::Position pos;
|
ESM::Position pos;
|
||||||
if (findExteriorPosition(mStartCell, pos).empty())
|
if (!findExteriorPosition(mStartCell, pos).empty())
|
||||||
{
|
{
|
||||||
changeToExteriorCell(pos, true);
|
changeToExteriorCell(pos, true);
|
||||||
adjustPosition(getPlayerPtr(), false);
|
adjustPosition(getPlayerPtr(), false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user