[Scummvm-git-logs] scummvm branch-2-7 -> 043b38725fe7afcd202dc175c7608c10d7e8ed99

mgerhardy noreply at scummvm.org
Sat Jan 21 09:13:24 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
043b38725f TWINE: hopefully fixed msvc compilation


Commit: 043b38725fe7afcd202dc175c7608c10d7e8ed99
    https://github.com/scummvm/scummvm/commit/043b38725fe7afcd202dc175c7608c10d7e8ed99
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2023-01-21T10:13:14+01:00

Commit Message:
TWINE: hopefully fixed msvc compilation

Changed paths:
    engines/twine/renderer/renderer.cpp


diff --git a/engines/twine/renderer/renderer.cpp b/engines/twine/renderer/renderer.cpp
index 4e4ff9757dd..5a6a27551f0 100644
--- a/engines/twine/renderer/renderer.cpp
+++ b/engines/twine/renderer/renderer.cpp
@@ -734,9 +734,9 @@ bool Renderer::computePoly(int16 polyRenderType, const ComputedVertex *vertices,
 	ComputedVertex *pTabPoly = offTabPoly[0];
 	ComputedVertex *p0;
 	ComputedVertex *p1;
-	int16 *pVertic;
+	int16 *pVertic = nullptr;
 	int16 *pCoul;
-	int32 incY;
+	int32 incY = -1;
 	int32 dx, dy, x, y, dc;
 	int32 step, reminder;
 




More information about the Scummvm-git-logs mailing list