mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 06:10:56 +00:00
fix constant folding for |
This commit is contained in:
parent
09ae07f64e
commit
00d409e80c
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ do_op_float (int op, expr_t *e1, expr_t *e2)
|
|||
e1->e.float_val = (int)f1 & (int)f2;
|
||||
break;
|
||||
case '|':
|
||||
e1->e.float_val += (int)f1 | (int)f2;
|
||||
e1->e.float_val = (int)f1 | (int)f2;
|
||||
break;
|
||||
case AND:
|
||||
e1->e.float_val = f1 && f2;
|
||||
|
|
Loading…
Reference in a new issue