Merge pull request #358 from TwilitRealm/182_mdh_catdoor_fix

Fix MDH cat door opening
This commit is contained in:
TakaRikka
2026-04-13 00:48:46 -07:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ private:
/* 0x790 */ s16 mRotSpeed;
public:
static u32 const M_attr;
static s16 const M_attr[2];
};
#endif /* D_A_OBJ_CATDOOR_H */
+2 -2
View File
@@ -10,7 +10,7 @@
static const char* l_arcName = "CatDoor";
u32 const daObjCatDoor_c::M_attr = 0x001E0578;
s16 const daObjCatDoor_c::M_attr[2] = {0x001E, 0x0578};
daObjCatDoor_c::~daObjCatDoor_c() {
if (mDoor1.bgw.ChkUsed()) {
@@ -71,7 +71,7 @@ int daObjCatDoor_c::execute() {
}
const s16* daObjCatDoor_c::attr() const {
return (const s16*)&daObjCatDoor_c::M_attr;
return daObjCatDoor_c::M_attr;
}
static int createSolidHeap(fopAc_ac_c* i_this) {