allow the progs to signal whether they handled the info change or not

This commit is contained in:
Bill Currie 2007-05-15 10:58:19 +00:00 committed by Jeff Teunissen
parent 411d6517cb
commit 85c5594148

View file

@ -1257,7 +1257,8 @@ SV_SetInfo_f (void *unused)
P_STRING (&sv_pr_state, 1) = PR_SetTempString (&sv_pr_state, value);
PR_ExecuteProgram (&sv_pr_state, sv_funcs.UserInfoCallback);
PR_PopFrame (&sv_pr_state);
return;
if (R_FLOAT (&sv_pr_state))
return;
}
SV_SetUserinfo (host_client, key, value);