Attempt to fix a regression - crash on ARM

pull/556/head
Andrei Kortunov 5 years ago
parent 0fa0e9571b
commit b2e12f0a73

@ -33,14 +33,14 @@ struct Region
// the engine uses mA as "snow" and mB as "blizard" // the engine uses mA as "snow" and mB as "blizard"
mA, mB; mA, mB;
}; // 10 bytes }; // 10 bytes
#pragma pack(pop)
// Reference to a sound that is played randomly in this region // Reference to a sound that is played randomly in this region
struct SoundRef struct SoundRef
{ {
std::string mSound; std::string mSound;
unsigned char mChance; unsigned char mChance;
}; // 33 bytes };
#pragma pack(pop)
WEATstruct mData; WEATstruct mData;
int mMapColor; // RGBA int mMapColor; // RGBA

@ -33,7 +33,7 @@ public:
{ {
std::string mName; std::string mName;
Script::SCHDstruct mData; Script::SCHDstruct mData;
}; // 52 bytes };
std::string mId; std::string mId;

Loading…
Cancel
Save