mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-20 21:41:35 +00:00
fix uninitialised variables
This commit is contained in:
parent
85cd744f44
commit
b2731c5e26
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ namespace MWRender
|
||||||
camera(cam)
|
camera(cam)
|
||||||
{
|
{
|
||||||
mPlayer.base = player;
|
mPlayer.base = player;
|
||||||
|
mPlayer.ref.pos.pos[0] = mPlayer.ref.pos.pos[1] = mPlayer.ref.pos.pos[2];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the player position. Uses Morrowind coordinates.
|
// Set the player position. Uses Morrowind coordinates.
|
||||||
|
|
Loading…
Reference in a new issue