Fix z coordinate writeback

This commit is contained in:
Kurt 2017-12-03 07:12:52 -08:00
parent 30914d00ee
commit 09a41f66ba

View File

@ -462,7 +462,7 @@ public float Z
get => BitConverter.ToSingle(Data, Trainer1 + 0x14);
set
{
var val = BitConverter.GetBytes(value * 18);
var val = BitConverter.GetBytes(value);
val.CopyTo(Data, Trainer1 + 0x14);
val.CopyTo(Data, Trainer1 + 0x14 + 0xF4);
}