From 7ea22800404821a131c32e5f3c23a78fd3b322a3 Mon Sep 17 00:00:00 2001 From: Briggs Baltzell Date: Mon, 9 Feb 2026 09:07:13 -0600 Subject: [PATCH] Add clarifying comments in `dMenu_ClothMethodTable` about function order and usage --- src/d/d_menu_cloth.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d/d_menu_cloth.cpp b/src/d/d_menu_cloth.cpp index 21b1cd7d1..4f9d3d508 100644 --- a/src/d/d_menu_cloth.cpp +++ b/src/d/d_menu_cloth.cpp @@ -836,7 +836,8 @@ class menu_cloth_class : public fopAc_ac_c { dMCloth_c mCloth; }; -/* Nonmatching */ +// 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 = { /* Create */ (process_method_func)dMenu_ClothCreate, /* Delete */ (process_method_func)dMenu_ClothDelete, @@ -845,7 +846,6 @@ static msg_method_class dMenu_ClothMethodTable = { /* Draw */ (process_method_func)dMenu_ClothIsDelete, }; -/* Nonmatching */ msg_process_profile_definition g_profile_Menu_Cloth = { /* LayerID */ (uint)fpcLy_CURRENT_e, /* ListID */ 0x000C,