mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-21 22:10:59 -04:00
Replace menu_cloth_class size calculation with sizeof(dMCloth_c) in d_menu_cloth.
This commit is contained in:
@@ -961,11 +961,6 @@ static BOOL dMenu_ClothIsDelete(void*) {
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
// TODO: Find superclass that gives the correct size of 0x929C.
|
||||
class menu_cloth_class : public fopAc_ac_c {
|
||||
dMCloth_c mCloth;
|
||||
};
|
||||
|
||||
// BUG: The functions in this table are out of order.
|
||||
// It doesn't really matter, because they're just empty functions.
|
||||
static msg_method_class dMenu_ClothMethodTable = {
|
||||
@@ -982,7 +977,7 @@ msg_process_profile_definition g_profile_Menu_Cloth = {
|
||||
/* ListPrio */ fpcPi_CURRENT_e,
|
||||
/* ProcName */ PROC_Menu_Cloth,
|
||||
/* Proc SubMtd */ &g_fpcLf_Method.base,
|
||||
/* Size */ 0x929C, // TODO: sizeof(menu_cloth_class)
|
||||
/* Size */ sizeof(dMCloth_c),
|
||||
/* SizeOther */ 0,
|
||||
/* Parameters */ 0,
|
||||
/* Leaf SubMtd */ &g_fopMsg_Method,
|
||||
|
||||
Reference in New Issue
Block a user