diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-04 01:00:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-04 01:00:16 +0300 |
commit | 2e82d3003315806076a53df23064ba744e491fc2 (patch) | |
tree | 6cccb9ca1cf7126b6377269df7b376a2f50aa9be /src/resources/map/speciallayer.h | |
parent | 75de17c7a86060f1c9475350c2e1bc7a712cd6b8 (diff) | |
download | mv-2e82d3003315806076a53df23064ba744e491fc2.tar.gz mv-2e82d3003315806076a53df23064ba744e491fc2.tar.bz2 mv-2e82d3003315806076a53df23064ba744e491fc2.tar.xz mv-2e82d3003315806076a53df23064ba744e491fc2.zip |
Fix crash in special layer drawing with enabled simd in compiler flags.
Diffstat (limited to 'src/resources/map/speciallayer.h')
-rw-r--r-- | src/resources/map/speciallayer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/map/speciallayer.h b/src/resources/map/speciallayer.h index f418aec7c..d71f1dab3 100644 --- a/src/resources/map/speciallayer.h +++ b/src/resources/map/speciallayer.h @@ -68,8 +68,8 @@ class SpecialLayer final : public MemoryCounter private: const std::string mName; - MapItem **mTiles; - int *mCache; + MapItem **mTiles __attribute__((packed)); + int *mCache __attribute__((packed)); int mWidth; int mHeight; }; |