mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 13:50:53 +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,9 +1542,10 @@ static pbool PR_ExecRunWarning (pubprogfuncs_t *ppf, int xstatement, char *error
|
|||
if (prinst.pr_depth != 0)
|
||||
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);
|
||||
if (progfuncs->funcs.debug_trace != DEBUG_TRACE_OFF)
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue