mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-01 11:15:36 +00:00
Fix exception when starting a new game
This commit is contained in:
parent
fd9cc1c282
commit
daf9dca121
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ namespace MWRender
|
|||
mCameraNode->getCreator()->destroySceneNode(mCameraNode);
|
||||
}
|
||||
mCameraNode = node;
|
||||
mCamera->detachFromParent();
|
||||
mCameraNode->attachObject(mCamera);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue