Replace some pointer casts with field references. (#3141)

This commit is contained in:
Pieter-Jan Briers
2026-04-11 08:37:03 +02:00
committed by GitHub
parent 885fad3312
commit b0728f9b8d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ static f32 bound(cXyz* param_0, cBgS_PolyInfo const& param_1, f32 param_2) {
cXyz pos;
f32 abs = param_0->abs();
C_VECReflect(param_0, (Vec*)&plane, &pos);
C_VECReflect(param_0, &plane.mNormal, &pos);
*param_0 = pos * abs * param_2;
return param_0->absXZ();