1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2026-10-10 11:53:05 +08:00

Fix even more build errors caused by c33f715: mathlib (#107)

This fixes the mathlib build, at least for me.

I didn't bother to fix code in e.g. raytrace or vgui_controls, so things
are almost certainly still broken in there.
This commit is contained in:
sigsegv
2022-10-15 06:52:44 -07:00
committed by GitHub
parent 96df7cdd53
commit d37768fc19
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -411,8 +411,8 @@ static void Label(struct QuantizedValue *q, int updatecolor)
else
for(int i=0;i<current_ndims;i++)
{
q->Mins[i]=min(q->Children[0]->Mins[i],q->Children[1]->Mins[i]);
q->Maxs[i]=max(q->Children[0]->Maxs[i],q->Children[1]->Maxs[i]);
q->Mins[i]=V_min(q->Children[0]->Mins[i],q->Children[1]->Mins[i]);
q->Maxs[i]=V_max(q->Children[0]->Maxs[i],q->Children[1]->Maxs[i]);
}
}
}