You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if x + y < z where z is less than x + y, e.g. if 1 + 10 < 5
will always run even though x + y is not less than z
to reproduce:
put a file in basewf/huds/test.hud with this below and do cg_clientHUD test
GelmoSan — Today at 18:06
What if you use parenthesis
I'm curious if these have different results:
if 2 + 4 < 3
include crosshair
endif
if 4 + 2 < 3
include crosshair
endif
gauley — Today at 18:22 if (2 + 4) < 3 still happens if (4 + 2) < 3 still happens
if 2 + 4 < 3 still happens if 4 + 2 < 3 still happens
gonna make an issue about that
still happens in warsow btw
okay, greater than sign also is broken
The text was updated successfully, but these errors were encountered:
if x + y < z where z is less than x + y, e.g. if 1 + 10 < 5
will always run even though x + y is not less than z
to reproduce:
put a file in basewf/huds/test.hud with this below and do cg_clientHUD test
only happens with + or -, not * or /
GelmoSan — Today at 18:06
What if you use parenthesis
I'm curious if these have different results:
gauley — Today at 18:22
if (2 + 4) < 3
still happensif (4 + 2) < 3
still happensif 2 + 4 < 3
still happensif 4 + 2 < 3
still happensgonna make an issue about that
still happens in warsow btw
okay, greater than sign also is broken
The text was updated successfully, but these errors were encountered: