mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +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 << doubleprecision;
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue