mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[qfcc] Use != nil for unary ! for Ruamoko progs
Ruamoko has no explicit ! instruction.
This commit is contained in:
parent
7e9cf76cfe
commit
501dd7db76
1 changed files with 3 additions and 1 deletions
|
@ -1951,7 +1951,9 @@ unary_expr (int op, expr_t *e)
|
|||
case ex_alias:
|
||||
case ex_address:
|
||||
case ex_assign:
|
||||
{
|
||||
if (options.code.progsversion == PROG_VERSION) {
|
||||
return binary_expr (EQ, e, new_nil_expr ());
|
||||
} else {
|
||||
expr_t *n = new_unary_expr (op, e);
|
||||
|
||||
if (options.code.progsversion > PROG_ID_VERSION)
|
||||
|
|
Loading…
Reference in a new issue