[Scummvm-git-logs] scummvm master -> 2759252fccd482675bcb77c37b386ef8513fdfaa
bluegr
noreply at scummvm.org
Sat May 7 19:22:31 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:
2759252fcc TINSEL: Remove unneeded packing around the OBJ_INIT struct
Commit: 2759252fccd482675bcb77c37b386ef8513fdfaa
https://github.com/scummvm/scummvm/commit/2759252fccd482675bcb77c37b386ef8513fdfaa
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2022-05-07T22:21:38+03:00
Commit Message:
TINSEL: Remove unneeded packing around the OBJ_INIT struct
No casting is done for this struct from memory blobs, so there's no
reason to pack it
Changed paths:
engines/tinsel/object.h
diff --git a/engines/tinsel/object.h b/engines/tinsel/object.h
index 8e731fb7d78..360e2134322 100644
--- a/engines/tinsel/object.h
+++ b/engines/tinsel/object.h
@@ -121,8 +121,6 @@ struct OBJECT {
OBJECT() { reset(); }
};
-#include "common/pack-start.h" // START STRUCT PACKING
-
// object initialisation structure
struct OBJ_INIT {
SCNHANDLE hObjImg; // objects shape - handle to IMAGE structure
@@ -131,10 +129,7 @@ struct OBJ_INIT {
int32 objX; // objects initial x position
int32 objY; // objects initial y position
int32 objZ; // objects initial z position
-} PACKED_STRUCT;
-
-#include "common/pack-end.h" // END STRUCT PACKING
-
+};
/*----------------------------------------------------------------------*\
|* Object Function Prototypes *|
More information about the Scummvm-git-logs
mailing list