mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-29 23:22:01 +00:00
Try to handle qc execution warnings a little better, with less undefined behaviour.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5867 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
100850ee93
commit
ff6c438d89
1 changed files with 3 additions and 2 deletions
|
@ -1542,10 +1542,11 @@ static pbool PR_ExecRunWarning (pubprogfuncs_t *ppf, int xstatement, char *error
|
||||||
if (prinst.pr_depth != 0)
|
if (prinst.pr_depth != 0)
|
||||||
PR_StackTrace (ppf, false);
|
PR_StackTrace (ppf, false);
|
||||||
|
|
||||||
if (progfuncs->funcs.debug_trace == 0)
|
if (progfuncs->funcs.debug_trace == DEBUG_TRACE_OFF)
|
||||||
{
|
{
|
||||||
prinst.pr_xstatement = ShowStep(progfuncs, xstatement, string, false);
|
prinst.pr_xstatement = ShowStep(progfuncs, xstatement, string, false);
|
||||||
return true;
|
if (progfuncs->funcs.debug_trace != DEBUG_TRACE_OFF)
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue