make linkDirection more robust to member reordering
This commit is contained in:
@@ -210,8 +210,11 @@ struct ObjectEvent
|
||||
/*0x14*/ struct Coords16 previousCoords;
|
||||
/*0x18*/ u16 facingDirection:4; // current direction?
|
||||
u16 movementDirection:4;
|
||||
u16 rangeX:4;
|
||||
u16 rangeY:4;
|
||||
struct __attribute__((packed))
|
||||
{
|
||||
u16 rangeX:4;
|
||||
u16 rangeY:4;
|
||||
} range;
|
||||
/*0x1A*/ u8 fieldEffectSpriteId;
|
||||
/*0x1B*/ u8 warpArrowSpriteId;
|
||||
/*0x1C*/ u8 movementActionId;
|
||||
|
||||
Reference in New Issue
Block a user