mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-06 13:15:35 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue