Browse Source

Remove pragma pack from DLevel struct

pull/5263/head
staphen 4 years ago committed by Anders Jenbo
parent
commit
8503efc1db
  1. 2
      Source/msg.cpp

2
Source/msg.cpp

@ -64,6 +64,7 @@ struct DMonsterStr {
int32_t hitPoints;
int8_t mWhoHit;
};
#pragma pack(pop)
struct DObjectStr {
_cmd_id bCmd;
@ -75,6 +76,7 @@ struct DLevel {
DMonsterStr monster[MaxMonsters];
};
#pragma pack(push, 1)
struct LocalLevel {
LocalLevel(const uint8_t (&other)[DMAXX][DMAXY])
{

Loading…
Cancel
Save