diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-01-06 00:23:55 -0500 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-01-06 00:23:55 -0500 |
| commit | 37dbfd75de367d41e5a2edffa00b1b6027b1bd8e (patch) | |
| tree | 6525c7b1e2086d4cbffd97c0c15df1391bec5b1a /src/d/d_attention.cpp | |
| parent | 4a0a89501d765c5682e76ed5e05cd45648977614 (diff) | |
Add item button enum and talk button enum
Diffstat (limited to 'src/d/d_attention.cpp')
| -rw-r--r-- | src/d/d_attention.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/d/d_attention.cpp b/src/d/d_attention.cpp index 30fff1ed..5c2f5f30 100644 --- a/src/d/d_attention.cpp +++ b/src/d/d_attention.cpp @@ -187,7 +187,7 @@ dAttList_c* dAttention_c::getActionBtnXYZ_local(int button) { /* 8009D9A8-8009D9FC .text getActionBtnX__12dAttention_cFv */ dAttList_c* dAttention_c::getActionBtnX() { - if (!dComIfGs_checkGetItemNum(dComIfGp_getSelectItem(0))) + if (!dComIfGs_checkGetItemNum(dComIfGp_getSelectItem(dItemBtn_X_e))) return NULL; return getActionBtnXYZ_local(0); @@ -195,7 +195,7 @@ dAttList_c* dAttention_c::getActionBtnX() { /* 8009D9FC-8009DA50 .text getActionBtnY__12dAttention_cFv */ dAttList_c* dAttention_c::getActionBtnY() { - if (!dComIfGs_checkGetItemNum(dComIfGp_getSelectItem(1))) + if (!dComIfGs_checkGetItemNum(dComIfGp_getSelectItem(dItemBtn_Y_e))) return NULL; return getActionBtnXYZ_local(1); @@ -203,7 +203,7 @@ dAttList_c* dAttention_c::getActionBtnY() { /* 8009DA50-8009DAA4 .text getActionBtnZ__12dAttention_cFv */ dAttList_c* dAttention_c::getActionBtnZ() { - if (!dComIfGs_checkGetItemNum(dComIfGp_getSelectItem(2))) + if (!dComIfGs_checkGetItemNum(dComIfGp_getSelectItem(dItemBtn_Z_e))) return NULL; return getActionBtnXYZ_local(2); @@ -668,4 +668,3 @@ void dAttLook_c::request(fopAc_ac_c*, f32, f32, f32, s16, int) { void dAttLook_c::requestF(fopAc_ac_c*, s16, int) { /* Nonmatching */ } - |
