mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-27 14:37:04 +00:00
Merge branch 'fix_start_cell' into 'master'
Consider empty RefId as absent exterior cell See merge request OpenMW/openmw!2891
This commit is contained in:
commit
57e8a4b1b0
@ -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