From eee7d0aac1f89e15bbc16b04c6c2cd96de76f0fb Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 12 Nov 2013 15:56:04 +0100 Subject: [PATCH] vec3_pbool: or, not and --- fold.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fold.c b/fold.c index 735758c..eb7e8e6 100644 --- a/fold.c +++ b/fold.c @@ -160,7 +160,7 @@ static GMQCC_INLINE qcfloat_t vec3_notf(vec3_t a) { } static GMQCC_INLINE bool vec3_pbool(vec3_t a) { - return (a.x && a.y && a.z); + return (a.x || a.y || a.z); } static GMQCC_INLINE vec3_t vec3_cross(vec3_t a, vec3_t b) {