From 302e49f97dd761443922793fa8c85190ea7ac0e7 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 17 Nov 2011 10:07:33 +0200 Subject: DREAMWEB: Use struct packing for the UseListEntry struct --- engines/dreamweb/use.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/dreamweb/use.cpp') diff --git a/engines/dreamweb/use.cpp b/engines/dreamweb/use.cpp index d6648b556e..cdc3740d6f 100644 --- a/engines/dreamweb/use.cpp +++ b/engines/dreamweb/use.cpp @@ -27,11 +27,15 @@ namespace DreamGen { typedef void (DreamGenContext::*UseCallback)(void); +#include "common/pack-start.h" // START STRUCT PACKING + struct UseListEntry { uint8 id[5]; // 0-terminal because it is easier syntatically to initialize the array UseCallback callback; }; +#include "common/pack-end.h" // END STRUCT PACKING + void DreamGenContext::useroutine() { static const UseListEntry kUseList[] = { -- cgit v1.2.3