Fixed error getting Z coordinate (#3567)

This commit is contained in:
tastymeatball 2022-08-12 16:58:23 +02:00 committed by GitHub
parent b900361ad3
commit 5f3516c3ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ public sealed class Situation6 : SaveBlock<SAV6>
public float Z
{
get => ReadSingleLittleEndian(Data.AsSpan(Offset + 0x14));
get => ReadSingleLittleEndian(Data.AsSpan(Offset + 0x14)) / 18;
set
{
var span = Data.AsSpan(Offset + 0x14);