diff --git a/src/d/d_menu_cloth.cpp b/src/d/d_menu_cloth.cpp index 1b2c7815a..0148eead7 100644 --- a/src/d/d_menu_cloth.cpp +++ b/src/d/d_menu_cloth.cpp @@ -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,