From b2731c5e261cb34303b728d0cbb17e49de8efba5 Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Mon, 5 Jul 2010 14:34:15 +0200 Subject: [PATCH] fix uninitialised variables --- apps/openmw/mwrender/playerpos.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/openmw/mwrender/playerpos.hpp b/apps/openmw/mwrender/playerpos.hpp index 44f86d769..bae549201 100644 --- a/apps/openmw/mwrender/playerpos.hpp +++ b/apps/openmw/mwrender/playerpos.hpp @@ -22,6 +22,7 @@ namespace MWRender camera(cam) { 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.