From af7d8e9095efa2ac5d03da8cfad9f60540abad77 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 11 Oct 2019 17:00:38 -0400 Subject: [PATCH] CUVElement: Provide initial value for cv in GetValueUV() The game executable itself sets this variable to an initial value of 1 prior to calling cycleFrames' GetValue() member function. --- Runtime/Particle/CUVElement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Particle/CUVElement.cpp b/Runtime/Particle/CUVElement.cpp index ec886b1b0..68108fb01 100644 --- a/Runtime/Particle/CUVElement.cpp +++ b/Runtime/Particle/CUVElement.cpp @@ -42,7 +42,7 @@ CUVEAnimTexture::CUVEAnimTexture(TToken&& tex, std::unique_ptrGetValue(frame, cv); float cvf = float(cv) / float(x20_tiles); cvf = float(frame) / cvf;