Skip to content

Commit

Permalink
fix ENEMY.id field offset
Browse files Browse the repository at this point in the history
  • Loading branch information
Priw8 committed Mar 20, 2020
1 parent 12c191e commit 55ebba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ECLplus/ECLplus.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ typedef struct ENEMY {
FLOAT bombInvuln;
DWORD flags;

#define lpad4 (lpad3 + sizeof(pad3) + sizeof(flags))
#define lpad4 (lpad3 + sizeof(pad3) + sizeof(flags) + sizeof(bombInvuln))
CHAR pad4[0x4554 - lpad4];
DWORD id;
} ENEMY;
Expand Down

0 comments on commit 55ebba7

Please sign in to comment.