mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-08 03:37:02 -04:00
Merge pull request #358 from TwilitRealm/182_mdh_catdoor_fix
Fix MDH cat door opening
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user