Fixed compile error when return user type from inside an IF block

This commit is contained in:
n00b
2025-05-23 23:05:45 -04:00
parent a5d1445b60
commit bd3ec7f502
2 changed files with 202 additions and 190 deletions

View File

@@ -4703,7 +4703,7 @@ bool check_rule()
//cout << "\nRETURN FROM FUNCTION" << id[fnID].name << endl << endl;
if(id[fnID].type == ID_TYPE_FN_NUM || id[fnID].type == ID_TYPE_FN_STR)
if(id[fnID].type == ID_TYPE_FN_NUM || id[fnID].type == ID_TYPE_FN_STR || id[fnID].type == ID_TYPE_FN_USER)
{
break;
}