fix: resolve all build warnings and notes

This commit is contained in:
MatthewBeshay
2026-03-23 18:53:18 +11:00
parent 7a35d1caa2
commit fed9cf2d95
45 changed files with 294 additions and 244 deletions

View File

@@ -10,6 +10,8 @@ ModelPart* HumanoidModel::AddOrRetrievePart(SKIN_BOX* pBox) {
ModelPart* pAttachTo = NULL;
switch (pBox->ePart) {
case eBodyPart_Unknown:
return nullptr;
case eBodyPart_Head:
pAttachTo = head;
break;
@@ -243,7 +245,7 @@ void HumanoidModel::setupAnim(float time, float r, float bob, float yRot,
leg1->yRot = 0.0f;
if (riding) {
if (uiBitmaskOverrideAnim & (1 << eAnim_SmallModel) == 0) {
if ((uiBitmaskOverrideAnim & (1 << eAnim_SmallModel)) == 0) {
arm0->xRot += -HALF_PI * 0.4f;
arm1->xRot += -HALF_PI * 0.4f;
leg0->xRot = -HALF_PI * 0.8f;