mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- variable was in the wrong scope.
This commit is contained in:
parent
37d61167ea
commit
e84a7de390
1 changed files with 2 additions and 2 deletions
|
@ -321,8 +321,8 @@ protected:
|
||||||
}
|
}
|
||||||
|
|
||||||
bool WriteDouble(double d) {
|
bool WriteDouble(double d) {
|
||||||
if (internal::Double(d).IsNanOrInf()) {
|
bool ret = true;
|
||||||
bool ret = true;
|
if (internal::Double(d).IsNanOrInf()) {
|
||||||
if (!(writeFlags & kWriteNanAndInfFlag))
|
if (!(writeFlags & kWriteNanAndInfFlag))
|
||||||
{
|
{
|
||||||
// if we abort here, the writer is left in a broken state, unable to recover, so better write a 0 in addition to returning an error.
|
// if we abort here, the writer is left in a broken state, unable to recover, so better write a 0 in addition to returning an error.
|
||||||
|
|
Loading…
Reference in a new issue