From b2e12f0a737ef35969f3a94cac8f03f7bc772dc0 Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Mon, 28 Oct 2019 18:58:16 +0400 Subject: [PATCH] Attempt to fix a regression - crash on ARM --- components/esm/loadregn.hpp | 4 ++-- components/esm/loadscpt.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/esm/loadregn.hpp b/components/esm/loadregn.hpp index 4adda5197..6f39dc0bf 100644 --- a/components/esm/loadregn.hpp +++ b/components/esm/loadregn.hpp @@ -33,14 +33,14 @@ struct Region // the engine uses mA as "snow" and mB as "blizard" mA, mB; }; // 10 bytes +#pragma pack(pop) // Reference to a sound that is played randomly in this region struct SoundRef { std::string mSound; unsigned char mChance; - }; // 33 bytes -#pragma pack(pop) + }; WEATstruct mData; int mMapColor; // RGBA diff --git a/components/esm/loadscpt.hpp b/components/esm/loadscpt.hpp index 64cedb095..e1ffe1b86 100644 --- a/components/esm/loadscpt.hpp +++ b/components/esm/loadscpt.hpp @@ -33,7 +33,7 @@ public: { std::string mName; Script::SCHDstruct mData; - }; // 52 bytes + }; std::string mId;