summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/d/t/d_t_insect.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/d/t/d_t_insect.h b/include/d/t/d_t_insect.h
index 0e591e8e..874d5099 100644
--- a/include/d/t/d_t_insect.h
+++ b/include/d/t/d_t_insect.h
@@ -61,16 +61,16 @@ private:
/* 0x260 */ mVec3_c mRevealedSpawnPos;
/* 0x26C */ dAcRef_c<dAcBase_c> mWarpRef;
- s32 getSpawnSubtype() const {
- return (mParams >> 8 & 0xF);
+ SpawnSubtype getSpawnSubtype() const {
+ return (SpawnSubtype)(mParams >> 8 & 0xF);
}
- bool isSpawnSubtype(s32 spanwSubtype) const {
+ bool isSpawnSubtype(SpawnSubtype spanwSubtype) const {
return getSpawnSubtype() == spanwSubtype;
}
- s32 getSubtype() const {
- return (mParams >> 4 & 0xF);
+ Subtype getSubtype() const {
+ return (Subtype)(mParams >> 4 & 0xF);
}
- bool isSubtype(u8 subtype) const {
+ bool isSubtype(Subtype subtype) const {
return getSubtype() == subtype;
}
s32 getInsectCount() const {