Skip to content

Commit ce2df22

Browse files
committed
aligned-at
1 parent d290f36 commit ce2df22

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/engine/qcommon/q_shared.h

+1-6
Original file line numberDiff line numberDiff line change
@@ -305,12 +305,7 @@ struct bounds_t
305305

306306
vec3_t& at( bool index )
307307
{
308-
if ( index )
309-
{
310-
return maxs;
311-
}
312-
313-
return mins;
308+
return ( &mins + ( index * 16 ) )[ 0 ];
314309
}
315310
};
316311

0 commit comments

Comments
 (0)