mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-21 05:58:59 -04:00
add more default parameters for common funcs
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user