-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
?: operator broken for vector condition #214
Comments
Affected Xonotic code:
|
Confirmed that entire
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code:
Command:
Output:
Note how
bar
doesn't useNOT_V
but callsIFNOT
on the vector directly. This just looks at itsx
component.I suspect the bug is that
exprs[0]
inparser.cpp
's call tonew ast_ternary
has not been fed throughprocess_condition
first, which is what normally takes care of insertingNOT_V
for vector conditions. Probably a simple fix.The text was updated successfully, but these errors were encountered: