1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 07:23:54 +00:00

Fix saving position and rotation.

This commit is contained in:
cc9cii 2014-11-03 10:07:21 +11:00
parent e3a000917c
commit 4556eb74fe

View file

@ -1299,7 +1299,7 @@ namespace CSMWorld
{
ESXRecordT record2 = record.get();
ESM::Position& position = record.get().*mPosition;
ESM::Position& position = record2.*mPosition;
position.pos[mIndex] = data.toFloat();
@ -1333,7 +1333,7 @@ namespace CSMWorld
{
ESXRecordT record2 = record.get();
ESM::Position& position = record.get().*mPosition;
ESM::Position& position = record2.*mPosition;
position.rot[mIndex] = data.toFloat();