mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-19 21:40:45 +00:00
Fix save corruption introduced by https://gitlab.com/OpenMW/openmw/-/merge_requests/1600
This commit is contained in:
parent
e46905450e
commit
de2383ec98
@ -78,7 +78,7 @@ void ESM::ObjectState::save (ESMWriter &esm, bool inInventory) const
|
||||
std::array<float, 6> pos;
|
||||
memcpy(pos.data(), mPosition.pos, sizeof(float) * 3);
|
||||
memcpy(pos.data() + 3, mPosition.rot, sizeof(float) * 3);
|
||||
esm.writeHNT ("POS_", pos.data(), 24);
|
||||
esm.writeHNT ("POS_", pos, 24);
|
||||
}
|
||||
|
||||
if (mFlags != 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user