1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-24 02:20:01 +00:00

minigun rotation fix

This commit is contained in:
majestic 2020-06-10 23:26:51 -07:00
parent cf8fcada6e
commit 669db1a293

View file

@ -13423,6 +13423,7 @@ CPed::Render(void)
// TODO(Miami): What are those numbers?! // TODO(Miami): What are those numbers?!
// localAdjMat.Rotate(flt_691FFC * flt_97F878, flt_691FF8 * flt_97F87C, flt_691FF4 * flt_97F880); // localAdjMat.Rotate(flt_691FFC * flt_97F878, flt_691FF8 * flt_97F87C, flt_691FF4 * flt_97F880);
localAdjMat.Rotate(0.078f, -0.519f, -0.0185f);
localAdjMat.GetPosition() += CVector(0.829f, -0.001f, 0.226f); localAdjMat.GetPosition() += CVector(0.829f, -0.001f, 0.226f);
mgTopMat = mgTopMat * localAdjMat; mgTopMat = mgTopMat * localAdjMat;
mgTopMat.UpdateRW(); mgTopMat.UpdateRW();