add more default parameters for common funcs

This commit is contained in:
LagoLunatic
2024-04-16 13:44:24 -04:00
parent ad0478fe15
commit 8238d12e71
26 changed files with 100 additions and 99 deletions
+2 -2
View File
@@ -446,7 +446,7 @@ int dEvmng_strcmp(const char* s1, char* s2) {
}
/* 80074824-80074964 .text getMyActIdx__16dEvent_manager_cFiPCPCciii */
int dEvent_manager_c::getMyActIdx(int staffIdx, const char* const* action, int actionNum, int force, int nameType) {
int dEvent_manager_c::getMyActIdx(int staffIdx, const char* const* action, int actionNum, BOOL force, int nameType) {
if (staffIdx == -1)
return -1;
@@ -780,7 +780,7 @@ static int dEv_talkman_get_action(int param_0) {
if (staffId == -1) {
return -1;
}
int actIdx = dComIfGp_evmng_getMyActIdx(staffId, action_table, ARRAY_SIZE(action_table), 0, 0);
int actIdx = dComIfGp_evmng_getMyActIdx(staffId, action_table, ARRAY_SIZE(action_table), FALSE, 0);
if (actIdx == param_0) {
dComIfGp_evmng_cutEnd(staffId);
}