From 9f6d8d2ba709af32e0a183774ae46e12edc8d37d Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Tue, 20 Dec 2016 13:14:02 +0200 Subject: [PATCH] Set goal values in decal stretcher to zeros even if they are not used See https://forum.zdoom.org/viewtopic.php?t=54592 --- src/decallib.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/decallib.cpp b/src/decallib.cpp index 5d24e44d5..7bfdfc3e7 100644 --- a/src/decallib.cpp +++ b/src/decallib.cpp @@ -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;