Skip to content

Commit

Permalink
update unit-alive judgement
Browse files Browse the repository at this point in the history
  • Loading branch information
MokhaLeee committed Jan 17, 2025
1 parent e23aa2a commit 9395884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/common-chax.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#define IS_ANTI_HUFFMAN(ptr) ((((u32)(ptr)) & 0xF8000000) == 0x88000000)

#define IS_UNIT_PTR(unit) (UNIT_IS_VALID((unit)))
#define UNIT_ALIVE(unit) (UNIT_IS_VALID((unit)) && !((unit)->state & (US_UNAVAILABLE | US_HIDDEN)))
#define UNIT_ALIVE(unit) (UNIT_IS_VALID((unit)) && !((unit)->state & US_UNAVAILABLE))

#define UNIT_LEVEL_MAX_RE 25
#define UNIT_RECORDED_LEVEL_MAX 80
Expand Down

0 comments on commit 9395884

Please sign in to comment.