mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2026-10-10 11:53:05 +08:00
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:
@@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user