修正query_cheat_set数据不对的问题

This commit is contained in:
anod 2023-01-19 20:06:09 +08:00
parent a1d3751670
commit ef0e33a397

View File

@ -259,7 +259,7 @@ acl_error_t acl_select_game( acl_text_t game, acl_boolean_t filter, acl_count_t
acl_error_t acl_query_cheat_set( acl_index_t index, acl_chtid_t *chtid, acl_region_t *region )
{
CheatLib *inst = &gblcht;
if( chtid == NULL || region == NULL ) return ACHTLIB_SUCCESS;
if( chtid == NULL && region == NULL ) return ACHTLIB_SUCCESS;
if( inst->serc == 0 ) return ACHTLIB_NOT_OPEN;
if( inst->listc == 0 ) return ACHTLIB_INVALID;