Warning/error cleanup

This commit is contained in:
LagoLunatic
2024-10-18 15:55:31 -04:00
parent 0255c90ad6
commit ce592831fe
13 changed files with 125 additions and 42 deletions
+4 -4
View File
@@ -72,10 +72,10 @@ BOOL daKaji_c::_delete() {
BOOL daKaji_c::_execute() {
// Copy the ship's transform (plus an offset) to the helm.
cXyz* offset = &cXyz(0.0f, 740.0f, -858.0f);
offset->y += REG10_F(10);
offset->z += REG10_F(11);
cMtx_multVec(l_p_ship->mpModel->getBaseTRMtx(), offset, &current.pos);
cXyz offset(0.0f, 740.0f, -858.0f);
offset.y += REG10_F(10);
offset.z += REG10_F(11);
cMtx_multVec(l_p_ship->mpModel->getBaseTRMtx(), &offset, &current.pos);
daObjPirateship::Act_c* ship = l_p_ship;
shape_angle = ship->shape_angle;