mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 23:41:56 +00:00
This commit is contained in:
commit
8a1ac909b4
2 changed files with 5 additions and 1 deletions
|
@ -1232,6 +1232,7 @@ DThinker *FDecalStretcherAnim::CreateThinker (DBaseDecal *actor, side_t *wall) c
|
|||
}
|
||||
else
|
||||
{
|
||||
thinker->GoalX = 0;
|
||||
thinker->bStretchX = false;
|
||||
}
|
||||
if (GoalY >= 0)
|
||||
|
@ -1241,6 +1242,7 @@ DThinker *FDecalStretcherAnim::CreateThinker (DBaseDecal *actor, side_t *wall) c
|
|||
}
|
||||
else
|
||||
{
|
||||
thinker->GoalY = 0;
|
||||
thinker->bStretchY = false;
|
||||
}
|
||||
thinker->bStarted = false;
|
||||
|
|
|
@ -527,7 +527,9 @@ inline bool Writer<StringBuffer>::WriteDouble(double d) {
|
|||
if (!(kWriteDefaultFlags & kWriteNanAndInfFlag))
|
||||
{
|
||||
// At least ensure that the output does not get broken.
|
||||
PutReserve(*os_, 1);
|
||||
PutReserve(*os_, 3);
|
||||
PutUnsafe(*os_, '0');
|
||||
PutUnsafe(*os_, '.');
|
||||
PutUnsafe(*os_, '0');
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue