mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-25 05:01:24 +00:00
[qfcc] Process state frame and step expressions
Just a victim of the deferred processing. `think` can't be processed because it can act as a forward declaration (qc legacy).
This commit is contained in:
parent
3881147210
commit
2cf14e13ec
1 changed files with 2 additions and 2 deletions
|
@ -2808,9 +2808,9 @@ build_state_expr (const expr_t *e, rua_ctx_t *ctx)
|
||||||
}
|
}
|
||||||
const expr_t *state_args[3] = {};
|
const expr_t *state_args[3] = {};
|
||||||
list_scatter (&e->list, state_args);
|
list_scatter (&e->list, state_args);
|
||||||
const expr_t *frame = state_args[0];
|
const expr_t *frame = expr_process (state_args[0], ctx);
|
||||||
const expr_t *think = state_args[1];
|
const expr_t *think = state_args[1];
|
||||||
const expr_t *step = state_args[2];
|
const expr_t *step = expr_process (state_args[2], ctx);
|
||||||
|
|
||||||
if (think->type == ex_symbol)
|
if (think->type == ex_symbol)
|
||||||
think = think_expr (think->symbol, ctx);
|
think = think_expr (think->symbol, ctx);
|
||||||
|
|
Loading…
Reference in a new issue