mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
Fixed bad serialization of float types
The value was written twice if it couldn't be reduced to a single precision value
This commit is contained in:
parent
af53f5a825
commit
bbdc64a955
1 changed files with 1 additions and 0 deletions
|
@ -1272,6 +1272,7 @@ void PFloat::WriteValue(FArchive &ar, const void *addr) const
|
||||||
{
|
{
|
||||||
ar.WriteByte(VAL_Float64);
|
ar.WriteByte(VAL_Float64);
|
||||||
ar << doubleprecision;
|
ar << doubleprecision;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue