d_ky_thunder small fix

This commit is contained in:
Jasper St. Pierre
2023-12-03 20:36:58 -08:00
parent 4def88bb54
commit 6bb6c41f6f
+2 -2
View File
@@ -179,8 +179,8 @@ s32 dThunder_c::create() {
}
cXyz rot;
rot.x = cM_ssin(rotY) * cM_scos(rotX);
rot.z = cM_ssin(rotY) * cM_ssin(rotX);
rot.x = cM_scos(rotY) * cM_ssin(rotX);
rot.z = cM_scos(rotY) * cM_scos(rotX);
f32 baseXZ = cM_rndF(offs.x);
mPos.x = pCamera->mLookat.mEye.x + fwd.x * 100000.0f + rot.x * baseXZ;