|
|
@ -1179,8 +1179,8 @@ namespace MWWorld
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
bool currCellActive = mWorldScene->isCellActive(*currCell);
|
|
|
|
bool currCellActive = currCell && mWorldScene->isCellActive(*currCell);
|
|
|
|
bool newCellActive = mWorldScene->isCellActive(*newCell);
|
|
|
|
bool newCellActive = newCell && mWorldScene->isCellActive(*newCell);
|
|
|
|
if (!currCellActive && newCellActive)
|
|
|
|
if (!currCellActive && newCellActive)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
newPtr = currCell->moveTo(ptr, newCell);
|
|
|
|
newPtr = currCell->moveTo(ptr, newCell);
|
|
|
|