[Scummvm-git-logs] scummvm master -> ffa19e3515e408543f70f09997aa037bdb21bd8c

grisenti noreply at scummvm.org
Tue Dec 19 18:38:19 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:
ffa19e3515 HPL1: Default initialize struct members


Commit: ffa19e3515e408543f70f09997aa037bdb21bd8c
    https://github.com/scummvm/scummvm/commit/ffa19e3515e408543f70f09997aa037bdb21bd8c
Author: grisenti (emanuele at grisenti.net)
Date: 2023-12-19T19:37:21+01:00

Commit Message:
HPL1: Default initialize struct members

Changed paths:
    engines/hpl1/engine/graphics/GraphicsDrawer.h


diff --git a/engines/hpl1/engine/graphics/GraphicsDrawer.h b/engines/hpl1/engine/graphics/GraphicsDrawer.h
index 787a0c3edc6..36b5c8268ac 100644
--- a/engines/hpl1/engine/graphics/GraphicsDrawer.h
+++ b/engines/hpl1/engine/graphics/GraphicsDrawer.h
@@ -50,9 +50,9 @@ public:
 	bool mbIsColorAndSize;
 	cColor mColor;
 	cVector2f mvSize;
-	bool mbFlipH;
-	bool mbFlipV;
-	float mfAngle;
+	bool mbFlipH = false;
+	bool mbFlipV = false;
+	float mfAngle = 0;
 
 	iMaterial *GetMaterial() const;
 	float GetZ() const { return mvTransform.z; }




More information about the Scummvm-git-logs mailing list