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

ccawley2011 noreply at scummvm.org
Sat Mar 5 16:06:10 UTC 2022


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:
f26c3382b6 CHEWY: Fix building with older compilers


Commit: f26c3382b6ad769c7fc95fa21b00292613cc60fd
    https://github.com/scummvm/scummvm/commit/f26c3382b6ad769c7fc95fa21b00292613cc60fd
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2022-03-05T16:05:56Z

Commit Message:
CHEWY: Fix building with older compilers

Changed paths:
    engines/chewy/globals.h
    engines/chewy/movclass.h
    engines/chewy/types.h


diff --git a/engines/chewy/globals.h b/engines/chewy/globals.h
index 7489051f47f..26c4aa3c1ee 100644
--- a/engines/chewy/globals.h
+++ b/engines/chewy/globals.h
@@ -185,7 +185,7 @@ public:
 	int16 _AkChewyTaf = 0;
 	int16 _PersonAni[MAX_PERSON] = { 0 };
 	TafSeqInfo *_PersonTaf[MAX_PERSON] = { nullptr };
-	uint8 _PersonSpr[MAX_PERSON][8] = { 0 };
+	uint8 _PersonSpr[MAX_PERSON][8] = {{ 0 }};
 
 	RoomDetailInfo *_Rdi = nullptr;
 	StaticDetailInfo *_Sdi = nullptr;
diff --git a/engines/chewy/movclass.h b/engines/chewy/movclass.h
index 777027dab40..43e34ea273b 100644
--- a/engines/chewy/movclass.h
+++ b/engines/chewy/movclass.h
@@ -51,7 +51,7 @@ struct MovInfo {
 struct ObjMov {
 	int16 Xypos[3] = { 0 };
 	int16 Xyvo[3] = { 0 };
-	int16 Xyna[3][2] = { 0 };
+	int16 Xyna[3][2] = {{ 0 }};
 	int16 Count = 0;
 
 	int16 Delay = 0;
diff --git a/engines/chewy/types.h b/engines/chewy/types.h
index 7d11f890d9f..790ca25e71f 100644
--- a/engines/chewy/types.h
+++ b/engines/chewy/types.h
@@ -417,7 +417,7 @@ struct Spieler : public SpielerFlags {
 	int16 Phase[MAX_PERSON] = { 0 };
 	int16 _personHide[MAX_PERSON] = { 0 };
 	int16 _personRoomNr[MAX_PERSON] = { 0 };
-	int16 ZoomXy[MAX_PERSON][2] = { 0 };
+	int16 ZoomXy[MAX_PERSON][2] = {{ 0 }};
 	int16 PersonGlobalDia[MAX_PERSON] = { 0 };
 	int16 PersonDia[MAX_PERSON] = { 0 };
 	int16 PersonDiaRoom[MAX_PERSON] = { 0 };




More information about the Scummvm-git-logs mailing list