Fix a copy/paste issue failing to normalize a vec3f when only its y component isn’t zero
@@ -19,7 +19,7 @@ float ovec3f_get_length(const vec3f* me)
void ovec3f_normalize_me(vec3f* me)
{
- if(me->x == 0 && me->x == 0 && me->z == 0)
+ if(me->x == 0 && me->y == 0 && me->z == 0)
return;
float len = ovec3f_get_length(me);