mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 06:21:29 -04:00
Fix saving position and rotation.
This commit is contained in:
parent
e3a000917c
commit
4556eb74fe
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user