diff options
| author | lepelog <25211966+lepelog@users.noreply.github.com> | 2025-12-04 23:26:13 +0100 |
|---|---|---|
| committer | lepelog <25211966+lepelog@users.noreply.github.com> | 2025-12-04 23:26:13 +0100 |
| commit | f0889aadb67d0b7295759e00f571ea221fffe204 (patch) | |
| tree | 5dd55b5fadc5a00dbacd63cd9f0f55b551f78b9a /src | |
| parent | 30b1ef36591e4bc1f8ad2bdf0e4ee989b64ca8df (diff) | |
properly use subtype enum
Diffstat (limited to 'src')
| -rw-r--r-- | src/REL/d/t/d_t_insect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/REL/d/t/d_t_insect.cpp b/src/REL/d/t/d_t_insect.cpp index d430c313..19fd7333 100644 --- a/src/REL/d/t/d_t_insect.cpp +++ b/src/REL/d/t/d_t_insect.cpp @@ -77,7 +77,7 @@ inline bool checkProfile(u16 prof, u32 target) { } int dTgInsect_c::actorPostCreate() { - s32 subtype = mParams >> 4 & 0xF; + Subtype subtype = getSubtype(); // ??? doesn't match without the double comparison if (subtype == SUBTYPE_WOODLAND_RHINO_BEETLE || subtype == SUBTYPE_WOODLAND_RHINO_BEETLE |
